1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-07 13:31:37 +02:00

fix: only decrypt on tags

This commit is contained in:
Carlos Alexandro Becker 2018-10-25 10:14:19 -03:00 committed by GitHub
parent 254a1cfab8
commit 9500155274
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,8 +11,6 @@ addons:
- snapd
env:
- PATH=/snap/bin:$PATH
before_install:
- openssl aes-256-cbc -K $encrypted_a30d538a5078_key -iv $encrypted_a30d538a5078_iv -in snap.login.enc -out snap.login -d
install:
- make setup
- npm install -g prettier
@ -25,6 +23,7 @@ after_success:
- make static
- test -z "$(git status --porcelain)"
- test -n "$TRAVIS_TAG" && docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- test -n "$TRAVIS_TAG" && openssl aes-256-cbc -K $encrypted_a30d538a5078_key -iv $encrypted_a30d538a5078_iv -in snap.login.enc -out snap.login -d
- test -n "$TRAVIS_TAG" && snapcraft login --with snap.login
deploy:
- deploy: