- Make sure all build passes. You can check by
./gradlew clean build koverMergedVerify
. - Make a release branch by
git switch -c release/va.b.c
. - Make a prepare commit.
- Remove
-SNAPSHOT
postfix ofgradle.properties
. - Update compatibility, example, ... of
README.md
. Boot starter compatibility can be checked in here. - Remove
-SNAPSHOT
ofCHANGELOG.md
. - Commit message:
Prepare for va.b.c
.
- Remove
- Install to local by
./gradlew clean build install --no-build-cache
. Test it with example projects. - Make a tag
va.b.c
.- Make a tag by
git tag va.b.c
. - Push the tag by
git push origin va.b.c
.
- Make a tag by
- Wait for deploy action to be completed.
- Check Staging Repositories in a sonatype.
- Click Close.
- Click Release.
- Start a new version
- Update version of
gradle.properties
toa.b.c-SHAPSHOT
. - Add
## a.b.c-SHAPSHOT
toCHANGELOG.md
. - Commit message:
Start next iteration
.
- Update version of
- Merge release branch.
- Merge release branch
- main :
git switch main && git merge release/va.b.c
. - patch (a.b.x branch) :
git switch a.b.x && git merge release/va.b.c
.
- main :
- Delete release branch by
git branch -d release/va.b.c
. - Push main to origin
- main :
git push origin main
. - patch (a.b.x branch) :
git push origin a.b.x
.
- main :
- Merge release branch
- Make a release on github based on CHANGELOG.