Skip to content

Commit

Permalink
Fix snapcraft release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
bengotow committed Nov 14, 2022
1 parent ba7e89b commit e0bdee2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,10 @@ after_success:
- sudo /snap/bin/lxd init --auto
- mkdir -p "$TRAVIS_BUILD_DIR/snaps-cache"
- sudo SNAPCRAFT_ENABLE_DEVELOPER_DEBUG=y /snap/bin/snapcraft --use-lxd
- timeout 180 sudo /snap/bin/transfer *.snap
- timeout 180 sudo /snap/bin/transfer mailspring.snap
# Decrypt the snapcraft login information
- openssl aes-256-cbc -K $encrypted_d506bd5213c4_key -iv $encrypted_d506bd5213c4_iv -in .snapcraft/credentials.enc -out .snapcraft/credentials -d
- export SNAPCRAFT_STORE_CREDENTIALS=$(cat .snapcraft/credentials)

after_failure:
- test "$TRAVIS_OS_NAME" = "linux" && sudo journalctl -u snapd || true
Expand All @@ -102,5 +103,5 @@ deploy:
branch: master
condition: $TRAVIS_OS_NAME = linux
provider: script
script: sudo snapcraft login --with .snapcraft/credentials && sudo snapcraft push *.snap --release edge || true
script: sudo snapcraft push mailspring.snap --release edge || true
skip_cleanup: true

0 comments on commit e0bdee2

Please sign in to comment.