mirror of
https://github.com/JakeWharton/mosaic.git
synced 2025-10-29 09:39:13 +08:00
942 B
942 B
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.
- Change the snapshot section to reflect the next "SNAPSHOT" version, if it is changing.
-
Commit
$ git commit -am "Prepare version X.Y.X" -
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 and push to Maven Central.