Skip to content

Commit d34596a

Browse files
committed
Bump version to 8.0.0
1 parent 9aed868 commit d34596a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

build.fsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,12 @@ Target "NuGet.NetFx" (fun _ ->
156156

157157
Target "PublishNuGet" (fun _ ->
158158
Paket.Push (fun p ->
159+
let apikey =
160+
match getBuildParam "nuget-apikey" with
161+
| s when not (String.IsNullOrWhiteSpace s) -> s
162+
| _ -> getUserInput "Nuget API Key: "
159163
{ p with
164+
ApiKey = apikey
160165
WorkingDir = buildDir })
161166
)
162167

@@ -193,11 +198,11 @@ Target "GitHubRelease" (fun _ ->
193198
let user =
194199
match getBuildParam "github-user" with
195200
| s when not (String.IsNullOrWhiteSpace s) -> s
196-
| _ -> getUserInput "Username: "
201+
| _ -> getUserInput "GitHub Username: "
197202
let pw =
198203
match getBuildParam "github-pw" with
199204
| s when not (String.IsNullOrWhiteSpace s) -> s
200-
| _ -> getUserPassword "Password: "
205+
| _ -> getUserPassword "GitHub Password: "
201206
let remote =
202207
Git.CommandHelper.getGitResult "" "remote -v"
203208
|> Seq.filter (fun (s: string) -> s.EndsWith("(push)"))

0 commit comments

Comments
 (0)