Skip to content

Commit 59c4524

Browse files
committed
fix tagging, add 'v'
1 parent d678a43 commit 59c4524

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ script:
77
before_deploy: |-
88
git config --local user.name "$USERNAME"
99
git config --local user.email "$EMAIL"
10-
export TRAVIS_TAG=$(grep -o "[0-9]\.[0-9]\.[0-9]" Makefile)
11-
git tag "v${TRAVIS_TAG}"
10+
export TRAVIS_TAG=$(grep -o "v[0-9]\.[0-9]\.[0-9]" Makefile)
11+
git tag $TRAVIS_TAG
1212
deploy:
1313
provider: releases
1414
api_key:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
GOCMD=go
2-
VERSION=0.1.6
2+
VERSION=v0.1.6
33

44
# First target for travis ci
55
test:

0 commit comments

Comments
 (0)