mirror of
https://github.com/pyenv/pyenv.git
synced 2026-07-30 05:45:42 +08:00
* OpenCollectrive API is blocked by a Cloudflare challenge page in some locations so allow to specify the OpenCollective API data manually --------- Co-authored-by: Ivan Pozdeev <vano@mail.mipt.ru>
1.6 KiB
1.6 KiB
Creating a release
The release of the new version of Pyenv is done via GitHub Releases.
Release checklist:
- Start drafting a new release on GitHub to generate a summary of changes.
Type the would-be tag name in the "Choose a tag" field and press "Generate release notes"- The summary may need editing. E.g. rephrase entries, delete/merge entries that are too minor or irrelevant to the users (e.g. typo fixes, CI)
- Add a sponsors section to the release notes by running:
Paste the output at the end of the release notes..github/scripts/generate_release_notes_sponsors.py- This lists new GitHub Sponsors and OpenCollective backers since the last release or within the last month, whichever is longer.
- The GitHub Sponsors query requires the
ghCLI with theread:userscope. - If OpenCollective is unavailable, pass
--skip-opencollectiveand add those backers manually.
- Update
CHANGELOG.mdwith the new version number and the edited summary (only the changes section) - Push the version number in
libexec/pyenv---versionandplugins/python-build/bin/python-build- Minor version is pushed if there are significant functional changes (not e.g. bugfixes/formula adaptations/supporting niche use cases).
- Major version is pushed if there are breaking changes
- Commit the changes locally into
master - Create a new tag locally with the same name as specified in the new release window
- Push the changes including the tag
- In the still open new release window, press "Publish release". The now-existing tag will be used.