Skip to content

Commit

Permalink
update travis script
Browse files Browse the repository at this point in the history
  • Loading branch information
cxjava committed Oct 22, 2019
1 parent 3b4faa1 commit 6517a2a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,20 @@ install:
deploy:
- provider: script
skip_cleanup: true
script: |
export GO_VERSION="$TRAVIS_GO_VERSION"
export BUILT_BY="$(whoami)@$(hostname)"
export GIT_BRANCH="$TRAVIS_BRANCH"
script: >-
export GO_VERSION="$TRAVIS_GO_VERSION" &&
export BUILT_BY="$(whoami)@$(hostname)" &&
export GIT_BRANCH="$TRAVIS_BRANCH" &&
goreleaser release --skip-validate --skip-sign --debug
on:
tags: true

- provider: script
skip_cleanup: true
script: |
export GO_VERSION="$TRAVIS_GO_VERSION"
export BUILT_BY="$(whoami)@$(hostname)"
export GIT_BRANCH="$TRAVIS_BRANCH"
script: >-
export GO_VERSION="$TRAVIS_GO_VERSION" &&
export BUILT_BY="$(whoami)@$(hostname)" &&
export GIT_BRANCH="$TRAVIS_BRANCH" &&
goreleaser release --snapshot --skip-publish --rm-dist --debug
on:
all_branches: true
Expand Down

0 comments on commit 6517a2a

Please sign in to comment.