Skip to content
Mark Dickinson edited this page Aug 10, 2022 · 4 revisions

The release procedure for this repository is straightforward, and we tend to release straight from the main branch.

  • Make a PR to update the version number in setup.py and update the changelog; merge after suitable review.
  • Following the merge of the above PR, make sure your local branch is clean and up to date: do a git pull if necessary.
  • Tag the release with an annotated tag: e.g., git tag -a 0.8.0 -m "Release version 0.8.0 of the Enthought Sphinx Theme"
  • Push the tag: git push --tags
  • Publish the release on GitHub (https://github.com/enthought/enthought-sphinx-theme/releases)
  • Create a Python 3.8 environment (either a venv or an EDM environment)
  • Install twine and build into that environment with python -m pip install twine build
  • Run python -m build. If successful, this should put a wheel and sdist into the dist/ directory.
  • Run python -m twine check dist/*; address any issues.
  • If the previous command produced no issues, run python -m twine upload dist/*. You'll need to provide suitable username and token/password for the upload, either via environment variables or at the command-line.
  • Request an EDM build of the theme at https://github.com/enthought/buildsystem/.
Clone this wiki locally