Making a Release
-
Tag the HEAD of the release branch and push to github:
git tag <version> && git push --tags. Opal branch names are in the formatvX.Y.Zthe tag for a release should be theX.Y.Zcomponent of the branch name. -
Check version is correct in
_version.py. -
Make sure you have
twineinstalled and then:make release -
Merge the branch you are releasing into
master -
Update the Github release page and make sure that it has the relevant Changelog contents.
-
If the branch for the next version does not already exist, create that branch. For instance, if you have released
x.y.zthen createx.y.(z+1). If you are creating a new version branch, ensure you have also changed the version number in the documentation,opal._version.__version__, and the branches that any badges in the project README are pointing at. -
Change the github default branch to be the new in development version
-
Update the Opal website: Change the current release and development version on the homepage, and run
rake docsto regenerate the documentation site with a new latest stable release version. -
Post to the Opal mailing list to announce the new release.