Former-commit-id: 57ed8064e06df6391fe2e31c736bc0100041463f
This commit is contained in:
troyeguo
2021-04-08 22:49:37 +08:00
parent 49ef4f0093
commit b70bbcd734

View File

@@ -24,6 +24,7 @@ init:
then
sudo apt-get install --no-install-recommends -y icnsutils graphicsmagick xz-utils
sudo apt-get install snapd
sudo snap install snapcraft --classic
sudo apt-get install -y rpm
fi
@@ -32,18 +33,6 @@ install:
- npm install
- node --version
before_build:
- node --version
- npm --version
# Get new $SNAP_TOKEN with:
# $ snapcraft export-login --snaps bw --acls package_push,package_release -
- sh: |
if [ "${SNAP_TOKEN}" != "" ]
then
sudo snap install snapcraft --classic
echo "$SNAP_TOKEN" | snapcraft login --with -
fi
build_script:
- npm run release