mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-24 12:06:15 +01:00
fixing the package version to be a string
This commit is contained in:
parent
ef7b1d9a19
commit
9c4a6bfbb6
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -265,8 +265,8 @@ jobs:
|
||||
|
||||
$checksum = checksum -t sha256 ./dist/chocoloatey/Bitwarden-Installer-${{ env.PACKAGE_VERSION }}.exe
|
||||
$chocoInstall = "./dist/chocolatey/tools/chocolateyinstall.ps1"
|
||||
(Get-Content $chocoInstall).replace('__version__', ${{ env.PACKAGE_VERSION }}).replace('__checksum__', $checksum) | Set-Content $chocoInstall
|
||||
choco pack ./dist/chocolatey/bitwarden.nuspec --version ${{ env.PACKAGE_VERSION }} --out ./dist/chocolately
|
||||
(Get-Content $chocoInstall).replace('__version__', "$env:PACKAGE_VERSION").replace('__checksum__', $checksum) | Set-Content $chocoInstall
|
||||
choco pack ./dist/chocolatey/bitwarden.nuspec --version "$env:PACKAGE_VERSION" --out ./dist/chocolately
|
||||
cd ./dist/chocolately
|
||||
#choco push
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user