Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the documentation for the release process. #558

Merged
merged 3 commits into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions RELEASE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ Create a new release candidate using `GitHub New release UI <https://github.com/
* *Choose a tag*: Type `19.9.0rc1` and select `Create new tag on publish.`
* *Target*: Search for the release branch and select it.
* *Title*: "Towncrier 19.9.0rc1".
* Set the content based on the NEWS file.
* Make sure to mark **This is a pre-release**.
* Set the content based on the NEWS file (for now in RST format).
* Make sure to check **This is a pre-release**.
* Click `Publish release`

This will trigger the PyPI release candidate.
Expand All @@ -52,6 +52,12 @@ The documentation link is also available as part of the standard Read The Docs P
Notify the release candidate over IRC or Gitter to gain more attention.
In the PR comments, you can also mention anyone who has asked for a release.

We don't create discussion for pre-releases.
Any discussions before the final release, can go on the PR itself.

For now, the GitHub release text is reStructuredText as it's easy to copy and paste.
In the future we might create a separate Markdown version.


Final release
--------------
Expand All @@ -64,7 +70,8 @@ In ``src/towncrier/_version.py`` the version is set using ``incremental`` such a
__version__ = Version('towncrier', 19, 9, 0)

Manually update the `NEWS.rst` file to include the final release version and date.
Usually it will look like this::
Usually it will look like this.
This will replace the release candidate section::

towncrier 19.9.0 (2019-09-29)
=============================
Expand All @@ -81,8 +88,9 @@ Similar to the release candidate, with the difference:
* tag will be named `19.9.0`
* the target is the same branch
* Title will be `towncrier 19.0.0`
* Content can be the content of the final release and the release candidates.
* Don't mark **This is a pre-release**.
* Content can be the content of the final release (RST format).
* Check **Set as the latest release**.
* Check **Create a discussion for this release**.
* Click `Publish release`

No need for another review request.
Expand All @@ -92,7 +100,6 @@ In ``src/towncrier/_version.py`` the version is set using ``incremental`` such a

__version__ = Version('towncrier', 19, 9, 1, dev=0)


Commit and push the changes.

Merge the commit in the main branch.
Expand Down
Empty file.
Loading