Skip to content

docs(release): Describe the auto-versioned release flow - #166

Merged
vaind merged 3 commits into
mainfrom
ivan/readme-release-docs
Oct 26, 2026
Merged

vaind merged 3 commits into
mainfrom
ivan/readme-release-docs

Conversation

@vaind

@vaind vaind commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Problem

The README's release steps date from before #163–#165. They tell you to pick a bump type, say the version comes from pyproject.toml, and name getsentry/action-prepare-release. Following them skips craft's auto versioning, so a breaking PR could ship as a minor release.

Approach

Update the "Releasing a New Version" steps to match the current workflow:

  • run with the default auto, and how PR titles map to major/minor/patch, with the explicit bump types kept as overrides;
  • what the workflow produces: the release/<version> branch, the CHANGELOG.md section, and the publish issue to check;
  • what happens after accepted: CI gate, PyPI/internal index/GitHub release, release branch merged into main;
  • PR titles must follow conventional commits, with ! for breaking changes.

The manual getsentry/pypi step, adding python_versions = >=3.13 to its PR, is removed. Since getsentry/pypi#2639, that repository's build skips Python versions excluded by a package's Requires-Python. The 2.0.0 PR (getsentry/pypi#2669) merged without the line, and its build skipped 3.11 and 3.12 on its own.

🤖 Generated with Claude Code

The README still told releasers to pick a bump type and named
action-prepare-release, so following it would skip the version craft
derives from PR titles and miss the breaking-change check that made
2.0.0 a major release. It now explains that PR titles drive the version
and changelog, what the workflow and publish issue produce, and how to
retract a request, which we had to do for the first auto release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vaind
vaind requested a review from a team as a code owner October 26, 2026 07:47
vaind and others added 2 commits October 26, 2026 08:51
getsentry/pypi#2639 made its build skip Python versions excluded by a
package's Requires-Python, so the python_versions line no longer has to
be added by hand. The 2.0.0 PR merged without it and its build skipped
3.11 and 3.12 on its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Retracting a publish request works the same for every repository using
getsentry/publish, so it doesn't belong in this README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vaind
vaind merged commit 5c70e92 into main Oct 26, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants