Release and publishing¶
Published package¶
PyPI distribution:
polymarket-mcp-serverRepository:
pr1m8/polymarket-mcpCLI entrypoint:
polymarket-mcp
Release flow¶
Create and publish a release from a Git tag:
git push origin main
git tag -a v0.1.3 -m "Release v0.1.3"
git push origin refs/tags/v0.1.3
The GitHub Actions release workflow then:
sets up Python and PDM
refreshes the PDM lockfile
installs the dev dependencies
runs
pdm run testbuilds the wheel and sdist
publishes to PyPI through GitHub trusted publishing
creates a matching GitHub release with the built artifacts attached
Trusted publishing¶
PyPI trusted publishing is configured against:
owner:
pr1m8repository:
polymarket-mcpworkflow:
release.ymlenvironment:
pypi
No long-lived PyPI API token is required once the trusted publisher is attached on PyPI.