mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-13 00:51:45 +01:00
install snapd before snapcraft commands
This commit is contained in:
parent
7bf2f68e4a
commit
619c797673
@ -55,6 +55,8 @@ before_build:
|
||||
- sh: |
|
||||
if [ "${SNAP_TOKEN}" != "" -a "${PROD_DEPLOY}" == "true" ]
|
||||
then
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install snapd
|
||||
sudo snap install snapcraft --classic
|
||||
echo "$SNAP_TOKEN" | snapcraft login --with -
|
||||
fi
|
||||
@ -113,8 +115,6 @@ after_build:
|
||||
if($env:PROD_DEPLOY -eq "true") {
|
||||
if($isLinux) {
|
||||
echo "Deploy Linux..."
|
||||
sudo apt-get update
|
||||
sudo apt-get -y install snapd
|
||||
./scripts/snap-build.ps1 -version $env:PACKAGE_VERSION
|
||||
|
||||
sudo snap install ./dist/snap/bw*.snap --dangerous
|
||||
|
Loading…
Reference in New Issue
Block a user