Skip to content

Commit

Permalink
release package script, skip-duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
Thorium committed Aug 8, 2024
1 parent 5d4e164 commit e6d7e85
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 e6d7e85

Please sign in to comment.