Skip to content
Open
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
20 changes: 16 additions & 4 deletions doc/developer-guide/release-process/index.en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,22 @@ Build
#. Check the version in ``CMakeLists.txt``. There is a ``project`` line near the
top with the version number. Make sure that is correct for the release.

#. Generate or update the CHANGELOG for the next release. ::

./tools/git/changelog.pl -o apache -r trafficserver -m X.Y.Z >
CHANGELOG-X.Y.Z
#. Generate or update the CHANGELOG for the next release. This needs
`uv <https://docs.astral.sh/uv/>`__, and ``--use-gh`` additionally needs the
`GitHub CLI <https://cli.github.com/>`__ already authenticated with
``gh auth login``. ::

uv run --project tools/changelog python tools/changelog/changelog.py \
-o apache -r trafficserver -m X.Y.Z --use-gh > CHANGELOG-X.Y.Z
Comment thread
cmcfarlen marked this conversation as resolved.
Comment thread
cmcfarlen marked this conversation as resolved.
Comment thread
cmcfarlen marked this conversation as resolved.

Without the GitHub CLI, omit ``--use-gh`` and supply a token through the
``GH_TOKEN`` environment variable instead. A token is not optional here: an
unauthenticated run exceeds the GitHub API rate limit partway through a
release-sized milestone and exits without writing a changelog. ::

GH_TOKEN=<token> uv run --project tools/changelog \
python tools/changelog/changelog.py \
-o apache -r trafficserver -m X.Y.Z > CHANGELOG-X.Y.Z

#. Commit this file to the repository and push it to the release branch.

Expand Down
Loading