Merge pull request #885 from bitwarden/fix-release-pipeline

removing the unix flags from the pwsh
This commit is contained in:
Joseph Flinn 2021-05-11 14:10:45 -07:00 committed by GitHub
commit 525f0e8a66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -177,10 +177,10 @@ jobs:
$checksum = checksum -t sha256 ./dist/chocolatey/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
ls -alht dist/chocolatey
ls dist/chocolatey
choco pack ./dist/chocolatey/bitwarden.nuspec --version "$env:PACKAGE_VERSION" --out ./dist/chocolatey
cd ./dist/chocolatey
ls -alht dist/chocolatey
ls dist/chocolatey
- name: Upload Chocolatey nupkg release asset
uses: actions/upload-release-asset@v1