From d775f2bcd5fc2e7ca52d868f9d00a1df327f0b44 Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Wed, 17 Oct 2018 22:34:51 +0200 Subject: [PATCH] fix: Change release condition. (#679) --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ec27b72c..9cf7851e 100644 --- a/.travis.yml +++ b/.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$