Release dftracer-utils by publishing a GitHub release, not by pushing a tag
DecisionVerified 30 Sep 2026Holds project: dftracer-utils
Decision. The context, the choice, why, and the options that were turned down.
Context#
The PyPI workflow "Upload Python Package" listens only for release: published. A pushed tag alone starts nothing and can be released on the wrong commit.
Decision#
Publish a GitHub release: Releases, then "Create new tag on publish", with the develop merge commit as target. Steps:
- Run
scripts/bump-version.sh patch. It does not tag. - Open a PR to develop and merge it.
- Publish the release.
Why#
The release creates the tag on the exact commit and starts the workflow. It also gives the place to write the release notes.
Rejected options#
Trigger the workflow on tags: ['v*']. It needs edits to the on: block, the tag-skip check job and the deploy condition. It still leaves the GitHub notes page to write separately.
Also found by searching
- git push origin v1.2.3 did not trigger the Upload Python Package workflow for dftracer-utils
- I pushed a version tag but nothing was published to PyPI
- how do I cut a new dftracer-utils release to PyPI
- release: published trigger vs tags v*, bump-version.sh patch then create GitHub release on develop merge commit
- I pushed a v* tag for dftracer-utils but the PyPI workflow did not start
- how do I release dftracer-utils to PyPI
- Upload Python Package workflow listens for release published, tag push does nothing