Skip to content

Commit e0bdee2

Browse files
committed
Fix snapcraft release flow
1 parent ba7e89b commit e0bdee2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,10 @@ after_success:
9090
- sudo /snap/bin/lxd init --auto
9191
- mkdir -p "$TRAVIS_BUILD_DIR/snaps-cache"
9292
- sudo SNAPCRAFT_ENABLE_DEVELOPER_DEBUG=y /snap/bin/snapcraft --use-lxd
93-
- timeout 180 sudo /snap/bin/transfer *.snap
93+
- timeout 180 sudo /snap/bin/transfer mailspring.snap
9494
# Decrypt the snapcraft login information
9595
- openssl aes-256-cbc -K $encrypted_d506bd5213c4_key -iv $encrypted_d506bd5213c4_iv -in .snapcraft/credentials.enc -out .snapcraft/credentials -d
96+
- export SNAPCRAFT_STORE_CREDENTIALS=$(cat .snapcraft/credentials)
9697

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

0 commit comments

Comments
 (0)