1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

check version test

This commit is contained in:
Kyle Spearrin
2019-03-20 12:25:49 -04:00
parent 44e0e4744b
commit fbb9887035
2 changed files with 9 additions and 1 deletions

View File

@@ -78,6 +78,14 @@ build_script:
- cmd: 7z a ./dist/bw-windows-%PACKAGE_VERSION%.zip ./dist/windows/bw.exe
- cmd: 7z a ./dist/bw-macos-%PACKAGE_VERSION%.zip ./dist/macos/bw
- cmd: 7z a ./dist/bw-linux-%PACKAGE_VERSION%.zip ./dist/linux/bw
- ps: |
if($isWindows) {
Expand-Archive -Path "./dist/bw-windows-${env:PACKAGE_VERSION}.zip" -DestinationPath "./test/windows"
$testVersion = Invoke-Expression '& ./test/windows/bw.exe -v'
if($testVersion -ne $env:PACKAGE_VERSION) {
Throw "Version test failed."
}
}
- ps: |
if($isWindows) {
.\scripts\choco-pack.ps1

2
jslib

Submodule jslib updated: fc1a73c9f2...50e6f24679