-
Notifications
You must be signed in to change notification settings - Fork 22
How to release
Here we describe the steps to create a major release. Let's assume that the version we want to release is x.y.0
.
- Tag the current commit point of the
master
branch:
git checkout master
git tag branch-x.y
git push origin branch-x.y
-
Create an issue to update
master
branch Pravega artifact to the release version. At the moment, the artifacts version ingradle.properties
should be of the formx.y.0-abc-SNAPSHOT
. This issue should describe the need to change the artifacts to its release formx.y.0
. -
Create a PR addressing the previous issue by updating the
gradle.properties
file as:
pravegaVersion=x.y.0
- Once the previous PR has been merged, we need to create a release branch and tagging it as follows:
git pull
git checkout -b rx.y
git push origin rx.y
git checkout rx.y
git tag vx.y.0
git push origin vx.y.0
-
Create release candidate on GitHub. On the GitHub repository page, go to releases and create a new draft. Fill out the recently created tag
vx.y.0
and then fill the title and short release notes. -
Publish the release candidate from GitHub. Once this is all done, publish the release candidate by clicking on the button on the draft page.
-
Create a new issue to update
master
branch to the artifacts for the new major version to come. -
Create a PR to address the previous issue. This PR should at least update
gradle.properties
as follows:
pravegaVersion=x.(y+1).0-abc-SNAPSHOT