Skip to content

Add GitHub Action to auto-publish to PyPI on push to main - #69

Merged
sophisid merged 1 commit into
mainfrom
automate-pip-release
Jul 28, 2026
Merged

Add GitHub Action to auto-publish to PyPI on push to main#69
sophisid merged 1 commit into
mainfrom
automate-pip-release

Conversation

@MChatzakis

Copy link
Copy Markdown
Owner

Folks, this PR tries to automate PyPi publication. See below:

Builds sdist/wheel via python -m build and uploads with twine, but only when pyproject.toml's version differs from the version already published on PyPI (PyPI rejects re-uploading an existing version).

Requires a PYPI_API_TOKEN repo secret with upload permission for daisy-exact-search [todo for @MChatzakis].

@FrancescaDelGaudio
@sophisid

Builds sdist/wheel via python -m build and uploads with twine, but only
when pyproject.toml's version differs from the version already published
on PyPI (PyPI rejects re-uploading an existing version). Requires a
PYPI_API_TOKEN repo secret with upload permission for daisy-exact-search.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@MChatzakis

Copy link
Copy Markdown
Owner Author

Added the token to the secret variables of the repo as well

@sophisid
sophisid merged commit 0678b3d into main Jul 28, 2026
7 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.

4 participants