Skip to content

feat: Automated PyPI publishing on release tags#2

Merged
dbhurley merged 1 commit into
mainfrom
add-version-file
Feb 18, 2026
Merged

feat: Automated PyPI publishing on release tags#2
dbhurley merged 1 commit into
mainfrom
add-version-file

Conversation

@dbhurley

Copy link
Copy Markdown
Collaborator

Summary

Adds automated publishing to PyPI when version tags are pushed.

Workflow

  1. Trigger: Push of tags matching v*.*.*
  2. Test: Runs full test suite across Python 3.9-3.12
  3. Build: Creates and validates package with twine check
  4. Publish: Pushes to PyPI using trusted publishing

Required Secrets

Configure this secret in the repository settings:

Secret Source Description
PYPI_API_TOKEN PyPI API tokens API token with upload permissions for meshguard

Alternative: Trusted Publishing (OIDC)

For enhanced security, configure PyPI Trusted Publishing which eliminates the need for storing API tokens.

Usage

To publish a new version:

# Update version in pyproject.toml
git tag v0.2.0
git push origin v0.2.0

Closes

Issue #7

@dbhurley
dbhurley merged commit 7a80a95 into main Feb 18, 2026
5 of 6 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.

1 participant