This document describes how to release a new version X.Y.Z
for maintainers.
It would be required to replace X.Y.Z
with the actual release version.
Create a new branch release/vX.Y.Z
from main
branch like the following:
git checkout main
git pull origin
git checkout -b release/vX.Y.Z
- Add a section of the new release version
vX.Y.Z
We recommend you add one of the following links to this section.https://github.com/lerna-stack/akka-coordinator-avoidance-shard-allocation-strategy/compare/vA.B.C...vX.Y.Z
if this release is a successor.A.B.C
is the previous latest version.
https://github.com/lerna-stack/akka-coordinator-avoidance-shard-allocation-strategy/tree/vX.Y.Z
if this release is the first one.
- Update the unreleased version link to
https://github.com/lerna-stack/akka-coordinator-avoidance-shard-allocation-strategy/compare/vX.Y.Z...main
Commit changes, and then push the branch like the following:
git commit --message 'release vX.Y.Z'
git push origin
After committing and pushing all changes, create a pull request. Other maintainers will review and merge the pull request.
It is highly recommended ensuring that the new version tag is correct.
The CI will automatically publish this release when detecting the version tag.
Create and push the new version tag vX.Y.Z
like the following:
git checkout main
git tag vX.Y.Z
git push origin vX.Y.Z
Check the release is available at Maven Central Repository.
NOTE
- The release will be available about 10 minutes after publishing.
- It requires more time to be able to find the release with searching (about 2 hours max).
Create a new release vX.Y.Z
from this link.
- Choose a tag: select the new version tag
- Release title: the same as the tag
- Describe this release:
Write the following text, at least.
Replace the part#vXYZ---YYYY-MM-DD
of the link with the actual release version and date.See [CHANGELOG] for details. [CHANGELOG]: https://github.com/lerna-stack/akka-coordinator-avoidance-shard-allocation-strategy/blob/main/CHANGELOG.md#vXYZ---YYYY-MM-DD