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

@ -1 +1 @@
Subproject commit fc1a73c9f2ef2c18f05dfebb5cf80ce84520d118
Subproject commit 50e6f2467925a3e46ebaadddec88e985b1bfd4fb