1.3 KiB
1.3 KiB
Releasing
-
Update the
VERSION_NAMEingradle.propertiesto the release version. -
Update the
CHANGELOG.md:- Change the
Unreleasedheader to the release version. - Add a link URL to ensure the header link works.
- Add a new
Unreleasedsection to the top.
- Change the
-
Update the
README.md:- Change the "Download" section to reflect the new release version.
- Update the compatibility chart with our new version and if it supports a new Kotlin version.
- Change the snapshot section to reflect the next "SNAPSHOT" version, if it is changing.
- Update the Kotlin version compatibility table
-
Commit
$ git commit -am "Prepare version X.Y.X" -
Manually release and upload artifacts
- Run
./gradlew clean publish - Visit Sonatype Nexus and promote the artifact.
- If either fails, drop the Sonatype repo, fix the problem, commit, and restart this section.
- Run
-
Tag
$ git tag -am "Version X.Y.Z" X.Y.Z -
Update the
VERSION_NAMEingradle.propertiesto the next "SNAPSHOT" version. -
Commit
$ git commit -am "Prepare next development version" -
Push!
$ git push && git push --tagsThis will trigger a GitHub Action workflow which will create a GitHub release.