Skip to content
Permalink
Browse files

fix: Change release condition. (#679)

  • Loading branch information...
ldez committed Oct 17, 2018
1 parent 7715241 commit d775f2bcd5fc2e7ca52d868f9d00a1df327f0b44
Showing with 3 additions and 2 deletions.
  1. +3 −2 .travis.yml
@@ -22,6 +22,7 @@ before_install:
- golangci-lint --version

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

deploy:
@@ -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}
@@ -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.
You can’t perform that action at this time.