mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-26 10:00:50 +08:00
Turn the Snap linux build back on for further polish
This commit is contained in:
parent
a84b63d1f5
commit
c2a76da5c4
1 changed files with 15 additions and 15 deletions
30
.travis.yml
30
.travis.yml
|
@ -95,20 +95,20 @@ cache:
|
|||
- app/node_modules
|
||||
- /tmp/mailsync-build-deps
|
||||
|
||||
# after_success:
|
||||
# # Grab the version number from the .deb product and update the snapcraft.yml file
|
||||
# - sed "s/MAILSPRING_VERSION/$(grep -E -o '([0-9]+.[0-9]+.[0-9]+)' <<< "$(find app/dist -type f -name mailspring-*.deb)")/g" snap/snapcraft.template.yaml > snap/snapcraft.yaml
|
||||
# # Decrypt the snapcraft login information
|
||||
# - openssl aes-256-cbc -K $encrypted_f8421d18d2b7_key -iv $encrypted_f8421d18d2b7_iv
|
||||
# -in .snapcraft/travis_snapcraft.cfg -out .snapcraft/snapcraft.cfg -d
|
||||
after_success:
|
||||
# Grab the version number from the .deb product and update the snapcraft.yml file
|
||||
- sed "s/MAILSPRING_VERSION/$(grep -E -o '([0-9]+.[0-9]+.[0-9]+)' <<< "$(find app/dist -type f -name mailspring-*.deb)")/g" snap/snapcraft.template.yaml > snap/snapcraft.yaml
|
||||
# Decrypt the snapcraft login information
|
||||
- openssl aes-256-cbc -K $encrypted_f8421d18d2b7_key -iv $encrypted_f8421d18d2b7_iv
|
||||
-in .snapcraft/travis_snapcraft.cfg -out .snapcraft/snapcraft.cfg -d
|
||||
|
||||
# services:
|
||||
# - docker
|
||||
services:
|
||||
- docker
|
||||
|
||||
# deploy:
|
||||
# 'on':
|
||||
# branch: master
|
||||
# condition: $TRAVIS_OS_NAME = linux
|
||||
# provider: script
|
||||
# script: docker run -v $(pwd):$(pwd) -t snapcore/snapcraft sh -c "apt update -qq && cd $(pwd) && snapcraft && snapcraft push *.snap --release edge"
|
||||
# skip_cleanup: true
|
||||
deploy:
|
||||
'on':
|
||||
branch: master
|
||||
condition: $TRAVIS_OS_NAME = linux
|
||||
provider: script
|
||||
script: docker run -v $(pwd):$(pwd) -t snapcore/snapcraft sh -c "apt update -qq && cd $(pwd) && snapcraft && snapcraft push *.snap --release edge"
|
||||
skip_cleanup: true
|
||||
|
|
Loading…
Reference in a new issue