1
0
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:
Joseph Flinn 2021-01-22 00:13:04 +00:00
parent 58a830fc83
commit de7ba57a10
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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