Skip to content

Commit

Permalink
Bump version to 8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dsyme committed Oct 13, 2016
1 parent 9aed868 commit d34596a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,12 @@ Target "NuGet.NetFx" (fun _ ->

Target "PublishNuGet" (fun _ ->
Paket.Push (fun p ->
let apikey =
match getBuildParam "nuget-apikey" with
| s when not (String.IsNullOrWhiteSpace s) -> s
| _ -> getUserInput "Nuget API Key: "
{ p with
ApiKey = apikey
WorkingDir = buildDir })
)

Expand Down Expand Up @@ -193,11 +198,11 @@ Target "GitHubRelease" (fun _ ->
let user =
match getBuildParam "github-user" with
| s when not (String.IsNullOrWhiteSpace s) -> s
| _ -> getUserInput "Username: "
| _ -> getUserInput "GitHub Username: "
let pw =
match getBuildParam "github-pw" with
| s when not (String.IsNullOrWhiteSpace s) -> s
| _ -> getUserPassword "Password: "
| _ -> getUserPassword "GitHub Password: "
let remote =
Git.CommandHelper.getGitResult "" "remote -v"
|> Seq.filter (fun (s: string) -> s.EndsWith("(push)"))
Expand Down

0 comments on commit d34596a

Please sign in to comment.