This guide is for maintainers who publish new QtShadcn releases.
Python distributions are published to PyPI. GitHub Releases are used for release notes and tags only; wheel and source distribution files should not be attached there once PyPI publishing is active.
Configure PyPI Trusted Publishing before the first release:
| PyPI field | Value |
|---|---|
| Project | qtshadcn |
| Owner | BugCodeX |
| Repository | QtShadcn |
| Workflow | publish-pypi.yml |
| Environment | pypi |
- Confirm the version in
pyproject.tomlmatches the next semver release. - Push a tag named
vMAJOR.MINOR.PATCHfor future releases. - Let
.github/workflows/publish-pypi.ymlbuild and publish the wheel and sdist to PyPI. - For an already-pushed tag such as
v0.0.6, run the workflow manually from GitHub Actions after Trusted Publishing is configured. - Use GitHub Releases for notes and tags, not
.whlor.tar.gzassets.
Once the PyPI publish succeeds for the current release, remove any existing wheel and source distribution assets from earlier GitHub Releases.
Local Twine upload should be treated as an explicit fallback only, not the default release path:
make build
uv run --extra dev twine upload dist/*