1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00

fixing checksum file encoding to prevent encoding errors on linux (#121)

This commit is contained in:
Oskar 2020-03-22 01:56:53 +01:00 committed by GitHub
parent 18f576accd
commit 4754acf629
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,11 +93,11 @@ build_script:
if($isWindows) { if($isWindows) {
.\scripts\choco-pack.ps1 .\scripts\choco-pack.ps1
checksum -f="./dist/bw-windows-${env:PACKAGE_VERSION}.zip" ` checksum -f="./dist/bw-windows-${env:PACKAGE_VERSION}.zip" `
-t sha256 | Out-File ./dist/bw-windows-sha256-${env:PACKAGE_VERSION}.txt -t sha256 | Out-File -Encoding ASCII ./dist/bw-windows-sha256-${env:PACKAGE_VERSION}.txt
checksum -f="./dist/bw-macos-${env:PACKAGE_VERSION}.zip" ` checksum -f="./dist/bw-macos-${env:PACKAGE_VERSION}.zip" `
-t sha256 | Out-File ./dist/bw-macos-sha256-${env:PACKAGE_VERSION}.txt -t sha256 | Out-File -Encoding ASCII ./dist/bw-macos-sha256-${env:PACKAGE_VERSION}.txt
checksum -f="./dist/bw-linux-${env:PACKAGE_VERSION}.zip" ` checksum -f="./dist/bw-linux-${env:PACKAGE_VERSION}.zip" `
-t sha256 | Out-File ./dist/bw-linux-sha256-${env:PACKAGE_VERSION}.txt -t sha256 | Out-File -Encoding ASCII ./dist/bw-linux-sha256-${env:PACKAGE_VERSION}.txt
if($env:PROD_DEPLOY -ne "true") { if($env:PROD_DEPLOY -ne "true") {
Push-AppveyorArtifact .\dist\bw-windows-${env:PACKAGE_VERSION}.zip Push-AppveyorArtifact .\dist\bw-windows-${env:PACKAGE_VERSION}.zip