Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 831 Bytes

RELEASE.md

File metadata and controls

28 lines (22 loc) · 831 Bytes

How to create a new release for Zou

We release Zou versions through Github. Every time a new version is ready, we follow this process:

  1. Up the version number located the zou/__version__ file.
  2. Rebase on the master branch.
  3. Push changes to master branch.
  4. Build the package from the sources
  5. Tag the commit and push the changes to Github
  6. Publish the package on Pypi

You can run the following script to perform these commands at once:

release_number=0.11.32
git pull --rebase origin master
echo "__version__ = \"$release\"" > zou/__init__.py
git commit zou/__init__.py -m $release
git tag v$release
git push origin master --tag
python setup.py bdist_wheel --universal
twine upload dist/zou-$release-py2.py3-none-any.whl

Deployment

Please see the Zou documentation for the update instructions.