mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
check version test
This commit is contained in:
@@ -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
2
jslib
Submodule jslib updated: fc1a73c9f2...50e6f24679
Reference in New Issue
Block a user