Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

Release Process

Gino Bustelo edited this page Jan 21, 2016 · 4 revisions

To start a new major/minor branch for its first release (e.g., 0.3.0):

git checkout master
git pull origin master
git checkout -b 0.3.x

git checkout master

# edit _version.py to bump to next major/minor (e.g., 0.4.0.dev)
# then ...

git add .
git commit -m 'Bump to 0.4.0.dev'
git push origin master

To make a patch release on a major/minor branch (e.g., 0.3.0):

git checkout -b 0.3.x

# Make sure .travis.yml has branches set correctly
branches:
  only:
    - 0.3.x
    - /^0\.3\.[0-9]+$/

# cherry-pick commits into the branch from master

# edit _version.py to remove the trailing 'dev' token
# then ...

git add .
git commit -m 'Release 0.3.0'
git tag -a 0.3.0 -m 'Release 0.3.0'

# do the release (automatically done by travisci on a tag)
# to release manually do a `make release`

# edit _version.py to bump to 0.3.1.dev
# then ...

git add .
git commit -m 'Bump to 0.3.1.dev'

git push origin 0.3.x --follow-tags
Clone this wiki locally