dftracer-utils keeps two version copies, and a release needs a bump commit on develop
FactVerified 30 Sep 2026Holds project: dftracer-utils
Fact. A statement and the evidence for it.
Statement#
The git tag is the source of truth for the Python version (setuptools-scm). CMakeLists.txt DFTRACER_UTILS_VERSION is a separate copy for the C++ build. A release therefore needs a version bump commit on develop before the tag. CITATION.cff has no version field to update. scripts/bump-version.sh auto|patch|minor|major|X.Y.Z accepts --commit and --dry-run.
Evidence#
Observer note from a release session on 2026-09-30.
Also found by searching
- C++ build reports DFTRACER_UTILS_VERSION 0.0.11 but the tag and Python package say 0.0.12
- I tagged a dftracer-utils release but the CMake version did not change
- how do I cut a dftracer-utils release and where do the version numbers live?
- scripts/bump-version.sh patch --commit before tagging, setuptools-scm tag vs CMakeLists version copy
- how do I cut a release of dftracer-utils, where is the version defined?
- CMake DFTRACER_UTILS_VERSION differs from the python version after tag
- bump-version.sh usage for release, does CITATION.cff need updating
- setuptools-scm tag versus CMakeLists version mismatch, release steps