Skip to content

fix(release): attach the sdist and wheel to the GitHub Release - #4

Merged
NikAcc merged 1 commit into
mainfrom
fix/attach-release-artifacts
Jul 13, 2026
Merged

fix(release): attach the sdist and wheel to the GitHub Release#4
NikAcc merged 1 commit into
mainfrom
fix/attach-release-artifacts

Conversation

@NikAcc

@NikAcc NikAcc commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

The python-semantic-release action only runs version — it bumps, tags, writes the changelog and creates the GitHub Release, but it never runs publish. So every Release so far was created with no files attached: a bare tag pointing at PyPI.

Upload the sdist + wheel that semantic-release already built into dist/, so the Release stands on its own. That matters for a tool whose entire purpose is to be an escape hatch — you should be able to grab it straight from GitHub without going through a package index.

Uses the preinstalled gh CLI rather than adding another action, so the org's Actions allow-list needs no new entry.


This is also the trial release the plan calls for: merging it cuts v0.0.3, which should exercise the full chain end to end — semantic-release → PyPI → and the Homebrew formula bump, now that TAP_DISPATCH_TOKEN is scoped correctly.

The semantic-release action only runs 'version' — it bumps, tags, writes the
changelog and creates the GitHub Release, but it never runs 'publish'. So every
Release was created with no files attached: a bare tag pointing at PyPI.

Upload the sdist and wheel that semantic-release already built, so the Release
stands on its own. That matters for a tool whose whole purpose is to be an
escape hatch — you should be able to grab it from GitHub without going through
a package index.

Uses the preinstalled gh CLI rather than another action, so the org's Actions
allow-list does not need a new entry.
@NikAcc
NikAcc merged commit 5f963ad into main Jul 13, 2026
2 checks passed
@NikAcc
NikAcc deleted the fix/attach-release-artifacts branch July 13, 2026 06:09
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.

1 participant