Skip to content

Commit fa7d20c

Browse files
committed
Removed "v" from TAG when versioning from release(tag)
1 parent 9976d3b commit fa7d20c

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
@@ -47,7 +47,7 @@ script:
4747
- mvn test -B
4848

4949
before_deploy:
50-
- if [ ! -z "$TRAVIS_TAG" ]; then mvn org.codehaus.mojo:versions-maven-plugin:2.1:set -DnewVersion=${TRAVIS_TAG}; fi
50+
- if [ ! -z "$TRAVIS_TAG" ]; then VERSION=$(tr -d "/v/" <<<$TRAVIS_TAG); mvn org.codehaus.mojo:versions-maven-plugin:2.1:set -DnewVersion=${VERSION}; fi
5151

5252
deploy:
5353
- provider: script

0 commit comments

Comments
 (0)