Skip to content

Add a PyPI-publishing job.#99

Merged
erikrose merged 3 commits into
mainfrom
erik/pypi-publish
May 29, 2026
Merged

Add a PyPI-publishing job.#99
erikrose merged 3 commits into
mainfrom
erik/pypi-publish

Conversation

@erikrose
Copy link
Copy Markdown
Member

@erikrose erikrose commented May 28, 2026

This ought to publish wheels and the sdist to PyPI when a GH prerelease is promoted to a real release.

erikrose added 2 commits May 29, 2026 14:11
…from prerelease

…and to pull release files from the GH release rather than a build artifact.
@erikrose erikrose force-pushed the erik/pypi-publish branch from 5fd340f to 58b5e39 Compare May 29, 2026 18:34
@erikrose erikrose marked this pull request as ready for review May 29, 2026 18:36
@erikrose erikrose requested a review from posborne May 29, 2026 18:36
Comment thread .github/workflows/publish.yml Outdated
Copy link
Copy Markdown
Member

@posborne posborne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me; for pre-release, we could also consider wiring that up to publish to testpypi or something, but probably not critical and is another set of creds to manage.

@erikrose
Copy link
Copy Markdown
Member Author

Yes, I was just hoping to get lucky—or just keep pushing workflow changes until I do (par for the GH workflow course).

@erikrose erikrose merged commit 1754367 into main May 29, 2026
1 check 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