Skip to content

Commit 96eb725

Browse files
apt has trouble with version starting with v (#34)
the new versioning convention introduces git tags that start with v this change will ensure that the leading v will be excluded when packages are being created. eg. GIT_TAG = TRAVIS_TAG = v0.2.0 then VERSION = 0.2.0 = DOCKER_TAG and versioning in rpm/deb packages
1 parent c8732f9 commit 96eb725

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
@@ -34,7 +34,7 @@ jobs:
3434
name: linux
3535
os: linux
3636
dist: xenial
37-
env: GIMME_GO_VERSION=1.12.9 GIMME_OS=linux GIMME_ARCH=amd64 VERSION=$TRAVIS_TAG
37+
env: GIMME_GO_VERSION=1.12.9 GIMME_OS=linux GIMME_ARCH=amd64 VERSION=${TRAVIS_TAG:1}
3838
script:
3939
# now we're going to create packages
4040
- $TRAVIS_BUILD_DIR/scripts/ci_create_packages.sh

0 commit comments

Comments
 (0)