Skip to content

How to do a Release

oldpatricka edited this page Dec 15, 2010 · 8 revisions

This is a quick guide explaining how to do a Cloud Scheduler release. A release consists of a few things:

1. Merge dev branch to master branch

$ git branch
* dev
  master
$ git checkout master
Switched to branch 'master'
$ git merge dev
$

2. Tag merged commit as release version

$ git tag x.x

3. Push changes to github

$ git push origin master --tags
To [email protected]:hep-gc/cloud-scheduler.git
   d41aa2e..ecb055d  master -> master
 * [new tag]         x.x -> x.x

4. Add links to download and tag to the roadmap page

Go to the roadmap page, and add links to the download page, and git tag on the release version.

Download link pattern: http://github.com/hep-gc/cloud-scheduler/tarball/x.x
Tag link pattern: http://github.com/hep-gc/cloud-scheduler/tree/x.x

5. Upload new version to Pypi

$ python setup.py sdist upload

6. Increment version number in source code

Our version number is hard coded in two places in our code: the README and in cloudscheduler/__version__.py. Edit both these files in the dev branch to make this the version number for the next release, and push this back to github.

Done!

Clone this wiki locally