To test github actions
Current Status | |
---|---|
Build | |
Code coverage | |
Release | |
Release | |
Tag | |
License |
https://www.internalpointers.com/post/squash-commits-into-one-git
git rebase --interactive ${commit-hash}
git rebase --interactive HEAD~N
Shorter
git rebase -i ${commit-hash}
git rebase -i HEAD~N
Where N is the number of commits you want to join, starting from the most recent one
git checkout -b release/1.0.0
mvn versions:set -DremoveSnapshot
mvn versions:set-property -Dproperty=maven-release-plugin.version,git-changelog-maven-plugin.version -DnewVersion=8.0.0
# Update dependencies manually
mvn clean package # to test the integrity of the project
git add .
git commit -m "Release candidate ...."
git push
git tag rc1.0.0 # release candidate
git push origin rc1.0.0 # to push the tag to github
# run the release github action workflow
mvn versions:set -DnextSnapshot # update the version release to development iteration
git add .
git commit -m "....."
git push # to push the latest changes to the release branch
# Create the proper PR to merge the release branch into master
mvn versions:commit # delete pom backups accepting the changes
mvn versions:revert # restores the poms from the pom backups