Skip to content

add pypi.yml - #121

Merged
thomaszwagerman merged 4 commits into
mainfrom
pypi_workflow
Apr 7, 2026
Merged

add pypi.yml#121
thomaszwagerman merged 4 commits into
mainfrom
pypi_workflow

Conversation

@thomaszwagerman

@thomaszwagerman thomaszwagerman commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

Adding GitHub workflow to add meshiphi to pypi on git tag. Meshiphi copy of bas-logist/PolarRoute#345.

Comment thread .github/workflows/pypi.yml Outdated
Comment thread .github/workflows/pypi.yml
Comment thread .github/workflows/pypi.yml Outdated
publish-to-pypi:
name: >-
Publish Python 🐍 distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All tags? or just those matching a pattern e.g. v1.1.1? We might want tags in future that shouldn't trigger a push to PyPI. I think it's generally better to be more restrictive here, since it would be better to not accidentally push to PyPI, I think?

Comment thread .github/workflows/pypi.yml
@thomaszwagerman
thomaszwagerman merged commit 8065713 into main Apr 7, 2026
7 checks passed
@thomaszwagerman
thomaszwagerman deleted the pypi_workflow branch April 7, 2026 08:35
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