Skip to content

Commit

Permalink
Tune release process [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
eputtone committed Jan 13, 2019
1 parent 878f240 commit 523e97e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
**/.*~
*~
.classpath
.github_api_token
.project
/*/*log
target
Expand Down
4 changes: 2 additions & 2 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ prompt_continue "set version $RELEASE_VERSION to local git repository"

mvn versions:set -DnewVersion=$RELEASE_VERSION
sed -i -e "s/$PREVIOUS_VERSION/$RELEASE_VERSION/g" README.md
git commit -am "release $RELEASE_VERSION"
git commit -am "release $RELEASE_VERSION [ci skip]"

prompt_continue "push version $RELEASE_VERSION to remote git repository"

Expand All @@ -74,7 +74,7 @@ git push --tags
prompt_continue "set version $SNAPSHOT_VERSION to local git repository"

mvn versions:set -DnewVersion=$SNAPSHOT_VERSION
git commit -am "prepare for release $SNAPSHOT_VERSION"
git commit -am "prepare for release $SNAPSHOT_VERSION [ci skip]"

prompt_continue "push version $SNAPSHOT_VERSION to remote git repository"

Expand Down

0 comments on commit 523e97e

Please sign in to comment.