Merge pull request #690 from bitwarden/choco-deploy-typo-fix
Fixing checksum path typo
This commit is contained in:
commit
7126aeb0b2
|
@ -173,7 +173,7 @@ jobs:
|
||||||
Copy-Item -Path ./stores/chocolatey -Destination ./dist/chocolatey -Recurse
|
Copy-Item -Path ./stores/chocolatey -Destination ./dist/chocolatey -Recurse
|
||||||
Copy-Item -Path ./dist/nsis-web/Bitwarden-Installer-${{ env.PACKAGE_VERSION }}.exe -Destination ./dist/chocolatey
|
Copy-Item -Path ./dist/nsis-web/Bitwarden-Installer-${{ env.PACKAGE_VERSION }}.exe -Destination ./dist/chocolatey
|
||||||
|
|
||||||
$checksum = checksum -t sha256 ./dist/chocoloatey/Bitwarden-Installer-${{ env.PACKAGE_VERSION }}.exe
|
$checksum = checksum -t sha256 ./dist/chocolatey/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/chocolatey
|
choco pack ./dist/chocolatey/bitwarden.nuspec --version "$env:PACKAGE_VERSION" --out ./dist/chocolatey
|
||||||
|
|
Loading…
Reference in New Issue