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:
parent
254a1cfab8
commit
9500155274
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user