Skip to content

馃懛 ci: publish release after PyPI - #153

Merged
gaborbernat merged 4 commits into
tox-dev:mainfrom
gaborbernat:github-release-after-pypi
Oct 18, 2026
Merged

gaborbernat merged 4 commits into
tox-dev:mainfrom
gaborbernat:github-release-after-pypi

Conversation

@gaborbernat

@gaborbernat gaborbernat commented Oct 18, 2026 •

Copy link
Copy Markdown
Member

Release preparation currently creates a GitHub Release before PyPI accepts the distributions. A failed package upload can leave the GitHub Release announcing a version that PyPI does not have.

The tag workflow creates the GitHub Release after PyPI succeeds, using that tag's changelog section, a PyPI link, and a comparison with the previous tag. It renders the changelog's RST roles as readable Markdown. The protected commit and tag push still uses the repository-scoped App token; only the GitHub Release job receives GitHub write access.

The tracked changelog now includes 1.5.2 and 1.6.3. Fragments for fixes already shipped in 1.6.3 are removed so they do not appear again in the next release.

@gaborbernat gaborbernat added the skip news No user-facing changelog entry needed label Oct 18, 2026
@gaborbernat
gaborbernat merged commit ac862a4 into tox-dev:main Oct 18, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news No user-facing changelog entry needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant