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 master
branch like the following:
git checkout master
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-entity-replication/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-entity-replication/tree/vX.Y.Z
if this release is the first one.
- Update the unreleased version link to
https://github.com/lerna-stack/akka-entity-replication/compare/vX.Y.Z...master
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 master
git pull origin
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).
Publish GitHub Pages using sbt-site
and sbt-ghpages
.
To publish the pages, checkout the new version tag vX.Y.Z
and then run the below command.
Note that you should have proper permission to publish.
sbt ghpagesPushSite
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-entity-replication/blob/master/CHANGELOG.md#vXYZ---YYYY-MM-DD