summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Knaack <davidkna@users.noreply.github.com>2023-08-04 09:06:37 +0200
committerGitHub <noreply@github.com>2023-08-04 09:06:37 +0200
commit5e9acb7e801568be9b2e3eed4cddf31d8ee744a1 (patch)
treee37d7b446f5d9450a55a083185a8f91fe13cbddd
parentbc2b84eba4580383f71de279d27e1b06c7e351cb (diff)
ci: fix choco package push (#5349)
-rw-r--r--install/windows/choco/update.ps16
1 files changed, 3 insertions, 3 deletions
diff --git a/install/windows/choco/update.ps1 b/install/windows/choco/update.ps1
index cea6f7131..a47d3c1b6 100644
--- a/install/windows/choco/update.ps1
+++ b/install/windows/choco/update.ps1
@@ -88,9 +88,9 @@ foreach ($install_type in @('portable', 'install')) {
}
if ($null -ne $ENV:PUSH_TOKEN) {
- choco push starship.portable.$versionNumber.nupkg --key $ENV:PUSH_TOKEN
- choco push starship.install.$versionNumber.nupkg --key $ENV:PUSH_TOKEN
- choco push starship.$versionNumber.nupkg --key $ENV:PUSH_TOKEN
+ choco push starship.portable.$versionNumber.nupkg --key $ENV:PUSH_TOKEN --source="'https://push.chocolatey.org/'"
+ choco push starship.install.$versionNumber.nupkg --key $ENV:PUSH_TOKEN --source="'https://push.chocolatey.org/'"
+ choco push starship.$versionNumber.nupkg --key $ENV:PUSH_TOKEN --source="'https://push.chocolatey.org/'"
}
else {
Write-Host "No API key provided, skipping push"