mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
fixing the chocolatey issue
This commit is contained in:
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -257,6 +257,10 @@ jobs:
|
|||||||
Copy-Item "./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x64.appx" `
|
Copy-Item "./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x64.appx" `
|
||||||
-Destination "./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x64-store.appx"
|
-Destination "./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x64-store.appx"
|
||||||
|
|
||||||
|
- name: Deploy to Chocolatey
|
||||||
|
shell: pwsh
|
||||||
|
run: ./scripts/choco-update.ps1 -version $env:PACKAGE_VERSION
|
||||||
|
|
||||||
- name: Upload Chocolatey nupkg release asset
|
- name: Upload Chocolatey nupkg release asset
|
||||||
id: upload-macos-checksum
|
id: upload-macos-checksum
|
||||||
uses: actions/upload-release-asset@v1
|
uses: actions/upload-release-asset@v1
|
||||||
|
|||||||
@@ -30,5 +30,5 @@ $chocoInstall = $distChocoDir + "\tools\chocolateyinstall.ps1";
|
|||||||
(Get-Content $chocoInstall).replace('__version__', $version).replace('__checksum__', $checksum) | Set-Content $chocoInstall
|
(Get-Content $chocoInstall).replace('__version__', $version).replace('__checksum__', $checksum) | Set-Content $chocoInstall
|
||||||
choco pack $nuspec --version $version --out $distChocoDir
|
choco pack $nuspec --version $version --out $distChocoDir
|
||||||
cd $distChocoDir
|
cd $distChocoDir
|
||||||
choco push
|
#choco push
|
||||||
cd $rootDir
|
cd $rootDir
|
||||||
|
|||||||
Reference in New Issue
Block a user