fix: release condition. (#678)

This commit is contained in:
Ludovic Fernandez 2018-10-17 02:18:49 +02:00 committed by GitHub
parent 32058d57da
commit 771524140c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ deploy:
script: curl -sL https://git.io/goreleaser | bash script: curl -sL https://git.io/goreleaser | bash
on: on:
tags: true tags: true
condition: $TRAVIS_GO_VERSION =~ ^1\.10\.[0-9]+$ condition: $TRAVIS_GO_VERSION =~ ^1\.11\.[0-9]+$
- provider: releases - provider: releases
api_key: ${GITHUB_TOKEN} api_key: ${GITHUB_TOKEN}
@ -40,4 +40,4 @@ deploy:
file_glob: true file_glob: true
on: on:
tags: true tags: true
condition: $TRAVIS_GO_VERSION =~ ^1\.10\.[0-9]+$ condition: $TRAVIS_GO_VERSION =~ ^1\.11\.[0-9]+$