Browse Source

Revert "Build: fix remote name"

This reverts commit 480be7d369.
pull/436/head
Christoph Ruegg 10 years ago
parent
commit
aee8534e16
  1. 2
      build.fsx

2
build.fsx

@ -861,7 +861,7 @@ let publishReleaseTag title prefix version notes =
let cmd = sprintf """tag -a %s -m "%s" """ tagName tagMessage
Git.CommandHelper.runSimpleGitCommand "." cmd |> printfn "%s"
let _, remotes, _ = Git.CommandHelper.runGitCommand "." "remote -v"
let main = remotes |> Seq.find (fun s -> s.Contains("(push)") && s.Contains("origin/mathnet-numerics"))
let main = remotes |> Seq.find (fun s -> s.Contains("(push)") && s.Contains("mathnet/mathnet-numerics"))
let remoteName = main.Split('\t').[0]
Git.Branches.pushTag "." remoteName tagName

Loading…
Cancel
Save