Skip to content

Commit 81dd8b3

Browse files
authored
Merge pull request #35 from utPLSQL/feature/upload_releases_to_packagecloud
Removed "v" from TAG when versioning from release(tag)
2 parents fb14348 + fa7d20c commit 81dd8b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .travis.yml

+1-1
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)