Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 961 Bytes

RELEASING.rst

File metadata and controls

26 lines (20 loc) · 961 Bytes

Releasing

  1. Create release branch X.Y.Z from develop.
  2. Update VERSION in castle/version.py to the new version
  3. Update the CHANGELOG.rst for the impending release
  4. git commit -am "release X.Y.Z" (where X.Y.Z is the new version)
  5. Push to Github, make PR to the develop branch, and when approved, merge.
  6. Pull latest develop, merge it to master, and push it.
  7. Make a release on Github from the master branch, specify tag as vX.Y.Z to create a tag.
  8. git checkout master && git pull
  9. rm -rf dist
  10. python3 setup.py sdist bdist_wheel
  11. twine upload dist/*

When you change something in the README.rst make sure it is in the correct format, as pypi will ignore the file if it is not valid.

pip3 install collective.checkdocs

pip3 install pygments

python3 setup.py checkdocs

To upload to testpypi twine upload --repository-url https://test.pypi.org/legacy/ dist/*