EfficientMetering/ReleaseInstructions

= Steps for cutting a release =

In advance

 * 1) Prepare release notes i doc/source/releasenotes/ .rst
 * 2) Prepare an annoucement email such as https://docs.google.com/document/d/1G7_uexx7q82UvGO26HEU2YZz8X0wtdsu5_zZP0R_a74/edit
 * 3) ensure all the bugs that neeeds to be fixed are fixed
 * 4) ensure the review queue is the way you want

At the time of release
git tag -s $VERSION git push gerrit --tags
 * 1) Commit the last changeset needed in the release.
 * 2) Verify the tar ball produced by the jenkins job https://jenkins.openstack.org/view/Ceilometer/job/ceilometer-sdist-tarball/ by downloading it from http://tarballs.openstack.org/ceilometer/
 * 3) Go to https://review.openstack.org/#/admin/projects/stackforge/ceilometer,branches and check the HEAD revision in master.
 * 4) Populate the form with the new branch name ("stable/folsom") and revision (from the HEAD of master, shown on the same page just above the form for making the branch). DO NOT SUBMIT YET.
 * 5) Check out HEAD of master. Run "git pull" to make sure you're at the latest version.
 * 6) Tag using the version number & push it. You must have administrative permission on the stackforge/ceilometer project in gerrit to do this (nijaba, dhellmann, jd__).


 * 1) Increment the version number in setup.py and push it through review until it merges.
 * 2) Go back to the Gerrit UI and make the branch. Make sure you are using the revision *prior* to incrementing the version number.
 * 3) Check github for the tag and branch. This may take a few minutes. Don't panic.
 * 4) Check the tar ball directory for the new version number. This may take a few minutes. Don't panic.
 * 5) Celebrate!

See also:


 * ReleaseTeam/HowToRelease