Skip to content
This repository has been archived by the owner on Jan 5, 2022. It is now read-only.

Commit

Permalink
Simplified release command.
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalwrzeszcz committed Apr 2, 2019
1 parent db811ad commit 07df8f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ git remote add origin ${SSH_REPO}
git checkout ${TRAVIS_BRANCH}

# first make current version release
mvn build-helper:parse-version versions:set versions:commit \
-DnewVersion="\${semver.majorVersion}.\${semver.minorVersion}.\${semver.incrementalVersion}"
mvn versions:set versions:commit \
-DremoveSnapshot=true
git add -u
git commit -m "[auto] Automated release release."
git push origin ${TRAVIS_BRANCH}:master
Expand Down

0 comments on commit 07df8f1

Please sign in to comment.