- Make sure all build passes. You can check by
./gradlew clean build. - Make a release branch by
git switch -c release/va.b.c. - Make a prepare commit.
- 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.propertiestoa.b.c-SHAPSHOT. - 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.