Skip to content

Instantly share code, notes, and snippets.

@AlexeyLevin
Last active June 11, 2020 12:27
Show Gist options
  • Select an option

  • Save AlexeyLevin/2a38a0aa3dfd70b0ecd973132c878390 to your computer and use it in GitHub Desktop.

Select an option

Save AlexeyLevin/2a38a0aa3dfd70b0ecd973132c878390 to your computer and use it in GitHub Desktop.
git stash
git checkout master
git merge dev
mvn versions:set -DnewVersion=1.19.0
application.version=1.19.0 in application.properties
.env set 1.19.0
git add *
git commit -m "release 1.19.0"
git push
git checkout -b release/1.19.0
git push --set-upstream origin release/1.19.0
git tag v1.19.0
git push origin --tags
git checkout dev
git merge release/1.19.0
mvn versions:set -DnewVersion=1.20.0-SNAPSHOT
application.version=1.20.0-SNAPSHOT in application.properties(prod set 1.21.0)
.env set 1.20.0-SNAPSHOT(prod set 1.21.0)
git add *
git commit -m "next version"
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment