FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update release checklist by hugovk · Pull Request #158 · python/python-docs-theme · GitHub

Repository navigation

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .rst  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
27 changes: 15 additions & 12 deletions CONTRIBUTING.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
How to release
--------------

- Update CHANGELOG.rst
- bump version (YYYY.MM) in pyproject.toml
- commit
- push to check one last time if the tests pass github side.
- tag it (YYYY.MM).
- build (``python -m build``)
- Test it (in :file:`cpython/Doc` run
``./venv/bin/pip install ../../python-docs-theme/dist/python-docs-theme-2021.8.tar.gz``
then build the doc using ``make html``).
- upload it: ``twine upload dist/*``.
- push the tag (``git push --tags``)

- Update ``CHANGELOG.rst``
- Bump version (YYYY.MM) in ``pyproject.toml``
- Commit
- Push to check tests pass on
`GitHub Actions <https://github.com/python/python-docs-theme/actions>`__
- Go to https://github.com/python/python-docs-theme/releases
- Click "Draft a new release"
- Click "Choose a tag"
- Type the next YYYY.MM version (no leading zero) and
select "**Create new tag: YYYY.MM** on publish"
Comment thread
hugovk marked this conversation as resolved.
- Leave the "Release title" blank (it will be autofilled)
- Click "Generate release notes" and amend as required
- Click "Publish release"
- Check the tagged `GitHub Actions build <https://github.com/python/python-docs-theme/actions/workflows/pypi-package.yml>`__
has deployed to `PyPI <https://pypi.org/project/python-docs-theme/#history>`__

Makefile usage
--------------
Expand Down

Back | FazBrowse Home | New Git URL