diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 877a943c8f..db38a1107b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -257,6 +257,10 @@ jobs: Copy-Item "./dist/Bitwarden-${{ env.PACKAGE_VERSION }}-x64.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 id: upload-macos-checksum uses: actions/upload-release-asset@v1 diff --git a/scripts/choco-update.ps1 b/scripts/choco-update.ps1 index 72677357aa..4e2496581e 100644 --- a/scripts/choco-update.ps1 +++ b/scripts/choco-update.ps1 @@ -30,5 +30,5 @@ $chocoInstall = $distChocoDir + "\tools\chocolateyinstall.ps1"; (Get-Content $chocoInstall).replace('__version__', $version).replace('__checksum__', $checksum) | Set-Content $chocoInstall choco pack $nuspec --version $version --out $distChocoDir cd $distChocoDir -choco push +#choco push cd $rootDir