forked from TrueCloudLab/lego
fix: Change release condition. (#679)
This commit is contained in:
parent
771524140c
commit
d775f2bcd5
1 changed files with 3 additions and 2 deletions
|
@ -22,6 +22,7 @@ before_install:
|
||||||
- golangci-lint --version
|
- golangci-lint --version
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
- echo "TRAVIS_GO_VERSION=$TRAVIS_GO_VERSION"
|
||||||
- dep status -v
|
- dep status -v
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
@ -30,7 +31,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\.11\.[0-9]+$
|
condition: $TRAVIS_GO_VERSION =~ ^1\.x$
|
||||||
|
|
||||||
- provider: releases
|
- provider: releases
|
||||||
api_key: ${GITHUB_TOKEN}
|
api_key: ${GITHUB_TOKEN}
|
||||||
|
@ -40,4 +41,4 @@ deploy:
|
||||||
file_glob: true
|
file_glob: true
|
||||||
on:
|
on:
|
||||||
tags: true
|
tags: true
|
||||||
condition: $TRAVIS_GO_VERSION =~ ^1\.11\.[0-9]+$
|
condition: $TRAVIS_GO_VERSION =~ ^1\.x$
|
||||||
|
|
Loading…
Reference in a new issue