Skip to content

Commit

Permalink
fix: Change release condition. (#679)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez authored Oct 17, 2018
1 parent 7715241 commit d775f2b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ before_install:
- golangci-lint --version

install:
- echo "TRAVIS_GO_VERSION=$TRAVIS_GO_VERSION"
- dep status -v

deploy:
Expand All @@ -30,7 +31,7 @@ deploy:
script: curl -sL https://git.io/goreleaser | bash
on:
tags: true
condition: $TRAVIS_GO_VERSION =~ ^1\.11\.[0-9]+$
condition: $TRAVIS_GO_VERSION =~ ^1\.x$

- provider: releases
api_key: ${GITHUB_TOKEN}
Expand All @@ -40,4 +41,4 @@ deploy:
file_glob: true
on:
tags: true
condition: $TRAVIS_GO_VERSION =~ ^1\.11\.[0-9]+$
condition: $TRAVIS_GO_VERSION =~ ^1\.x$

0 comments on commit d775f2b

Please sign in to comment.