Skip to content

Commit

Permalink
Release package script, skip-duplicates (#2801)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thorium committed Aug 9, 2024
1 parent 5d4e164 commit 82e472e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -454,9 +454,15 @@ let rec nugetPush tries nugetPackage =
try
if not <| String.IsNullOrEmpty apiKey.Value then
let quoteString str = sprintf "\"%s\"" str

let args = sprintf "push %s %s -Source %s" (quoteString nugetPackage) (quoteString apiKey.Value) (quoteString nugetSource)


let args =
sprintf
"push %s %s -Source %s %s"
(quoteString nugetPackage)
(quoteString apiKey.Value)
(quoteString nugetSource)
(if ignore_conflict then "-SkipDuplicate" else "")

let errors = System.Collections.Generic.List<string>()
let results = System.Collections.Generic.List<string>()

Expand Down

0 comments on commit 82e472e

Please sign in to comment.