mirror of
https://github.com/gerardog/gsudo.git
synced 2025-01-08 11:47:40 +08:00
Fixed chocolatey pipeline
This commit is contained in:
parent
889cc2f539
commit
6031c98e93
@ -57,7 +57,7 @@ if (choco list -lo | Where-object { $_.StartsWith("gsudo") }) {
|
||||
if($(choco apikey).Count -lt 2) { throw "Missing Chocolatey ApiKey. Use: choco apikey -k <your key here> -s https://push.chocolatey.org/" }
|
||||
|
||||
"`n- Uploading v$version to chocolatey"
|
||||
choco push artifacts\Chocolatey\gsudo.$($version).nupkg || $(throw "Choco push failed.")
|
||||
choco push artifacts\Chocolatey\gsudo.$($version).nupkg --source=https://push.chocolatey.org/ || $(throw "Choco push failed.")
|
||||
|
||||
"- Success"
|
||||
popd
|
Loading…
Reference in New Issue
Block a user