Skip to content

Commit 2b31e50

Browse files
committed
Use TRAVIS_BRANCH - it is always set
1 parent 8bd8ab3 commit 2b31e50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ before_install:
99
- cpanm --local-lib=~/perl5 --quiet local::lib
1010
- eval $(perl -I ~/perl5/lib/perl5/ -Mlocal::lib)
1111
- cpanm --local-lib=~/perl5 --quiet --notest Test::Nginx::Socket
12-
- echo "const VERSION = \"${TRAVIS_TAG}\"" >> version.go
12+
- echo "const VERSION = \"${TRAVIS_BRANCH}\"" >> version.go
1313
script:
1414
- go build -o ip2geo
1515
- ./ip2geo -version

0 commit comments

Comments
 (0)