Skip to content

Commit d775f2b

Browse files
authored
fix: Change release condition. (#679)
1 parent 7715241 commit d775f2b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ before_install:
2222
- golangci-lint --version
2323

2424
install:
25+
- echo "TRAVIS_GO_VERSION=$TRAVIS_GO_VERSION"
2526
- dep status -v
2627

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

3536
- provider: releases
3637
api_key: ${GITHUB_TOKEN}
@@ -40,4 +41,4 @@ deploy:
4041
file_glob: true
4142
on:
4243
tags: true
43-
condition: $TRAVIS_GO_VERSION =~ ^1\.11\.[0-9]+$
44+
condition: $TRAVIS_GO_VERSION =~ ^1\.x$

0 commit comments

Comments
 (0)