Merge pull request #99 from jesseduffield/ci-snap-2

login to snapcraft when releasing
This commit is contained in:
Jesse Duffield 2019-07-05 20:29:56 +10:00 committed by GitHub
commit 3087f86b2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,6 +46,15 @@ jobs:
name: Install snapcraft name: Install snapcraft
command: | command: |
./.circleci/install_snapcraft.sh ./.circleci/install_snapcraft.sh
- run:
name: Login to snapcraft
# if you ever lose this, you can recreate it via
# `snapcraft export-login snapcraft.login && base64 snapcraft.login` and then chuck that
# in circle ci as the SNAPCRAFT_LOGIN_FILE env variable
# You'll need your ubuntu one password
command: |
echo $SNAPCRAFT_LOGIN_FILE | base64 --decode --ignore-garbage > snapcraft.login
snapcraft login --with snapcraft.login
- run: - run:
name: Run gorelease name: Run gorelease
command: | command: |