Skip to content

Commit 10a10fb

Browse files
author
Igor Olshevsky
authored
set TRAVIS_BUILD_NUMBER
1 parent 09891c6 commit 10a10fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ install:
88
- go test -i ./...
99
- go get -u github.com/mitchellh/gox
1010
- mkdir release
11-
- cd release && gox -arch 'amd64' -os 'linux windows darwin' -ldflags "-X main.version=$TRAVIS_TAG" ../src/...
11+
- cd release && gox -arch 'amd64' -os 'linux windows darwin' -ldflags "-X main.version=$TRAVIS_BUILD_NUMBER" ../src/...
1212
script:
1313
- cd $TRAVIS_BUILD_DIR
1414
- go test -race -v ./...

0 commit comments

Comments
 (0)