mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-07 09:31:31 +01:00
test snap before deploying
This commit is contained in:
parent
b4ab4e0b86
commit
5ef18eebda
@ -111,6 +111,14 @@ after_build:
|
||||
if($isLinux) {
|
||||
echo "Deploy Linux..."
|
||||
./scripts/snap-build.ps1 -version $env:PACKAGE_VERSION
|
||||
|
||||
sudo snap install ./dist/snap/bw*.snap --dangerous
|
||||
$testVersion = Invoke-Expression '& bw -v'
|
||||
if($testVersion -ne $env:PACKAGE_VERSION) {
|
||||
Throw "Version test failed."
|
||||
}
|
||||
sudo snap remove bw
|
||||
|
||||
./scripts/snap-update.ps1
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user