mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-28 12:35:40 +01:00
fixing the chocolatey issue
This commit is contained in:
parent
58a830fc83
commit
de7ba57a10
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
|
||||||
|
Loading…
Reference in New Issue
Block a user