Skip to content

How to release

Raúl Gracia edited this page Nov 7, 2019 · 1 revision

Major 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.

  1. Tag the current commit point of the master branch:
git checkout master
git tag branch-x.y
git push origin branch-x.y
  1. Create an issue to update master branch Pravega artifact to the release version. At the moment, the artifacts version in gradle.properties should be of the form x.y.0-abc-SNAPSHOT. This issue should describe the need to change the artifacts to its release form x.y.0.

  2. Create a PR addressing the previous issue by updating the gradle.properties file as:

pravegaVersion=x.y.0
  1. 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
  1. 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.

  2. Publish the release candidate from GitHub. Once this is all done, publish the release candidate by clicking on the button on the draft page.

  3. Create a new issue to update master branch to the artifacts for the new major version to come.

  4. 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
Clone this wiki locally