diff --git a/appveyor.yml b/appveyor.yml index 976586b303..73d34ef0ec 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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 diff --git a/jslib b/jslib index fc1a73c9f2..50e6f24679 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit fc1a73c9f2ef2c18f05dfebb5cf80ce84520d118 +Subproject commit 50e6f2467925a3e46ebaadddec88e985b1bfd4fb