mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-19 01:51:27 +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
|
$checksum = checksum -t sha256 ./dist/chocoloatey/Bitwarden-Installer-${{ env.PACKAGE_VERSION }}.exe
|
||||||
$chocoInstall = "./dist/chocolatey/tools/chocolateyinstall.ps1"
|
$chocoInstall = "./dist/chocolatey/tools/chocolateyinstall.ps1"
|
||||||
(Get-Content $chocoInstall).replace('__version__', ${{ env.PACKAGE_VERSION }}).replace('__checksum__', $checksum) | Set-Content $chocoInstall
|
(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
|
choco pack ./dist/chocolatey/bitwarden.nuspec --version "$env:PACKAGE_VERSION" --out ./dist/chocolately
|
||||||
cd ./dist/chocolately
|
cd ./dist/chocolately
|
||||||
#choco push
|
#choco push
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user