- Update the CHANGELOG.md with the version and date
- Choose a tag name (e.g.
3.0.0
), this is the version number of the release.- Preview releases follow the pattern
3.0.0-alpha.1
,3.0.0-beta.1
,3.0.0-RC.1
- Execute the script with the tag's name, the script will update the version file and create a tag.
./scripts/prepare-release.sh 3.0.0
- Preview releases follow the pattern
- Go to GH Releases
- Choose a release name (e.g.
3.0.0
), and the tag you just created, ideally the same. - Write a description of the release.
- Publish the release.
- GH Action (release.yml) is doing everything else automatically.
- Done.
- Set
versionName
in gradle.properties - Set OSSRH_USERNAME, OSSRH_PASSWORD, GPG_PRIVATE_KEY, GPG_PASSPHRASE to env if needed
- Check stagingProfileId