We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56c26cc commit 501a5fcCopy full SHA for 501a5fc
1 file changed
pyproject.toml
@@ -88,6 +88,12 @@ version_scheme = "duckdb_packaging.setuptools_scm_version:version_scheme"
88
local_scheme = "no-local-version"
89
fallback_version = "0.0.1.dev1"
90
91
+# main only: count dev distance from the last *minor* tag (v*.*.0), so a patch
92
+# tag (e.g. v1.5.4) merged in from a release branch can't reset .devN.
93
+# Release branches must NOT have this, they correctly count from v*.*.* (the default).
94
+[tool.setuptools_scm.scm.git]
95
+describe_command = "git describe --dirty --tags --long --abbrev=40 --match v*.*.0"
96
+
97
# Override: if COVERAGE is set then:
98
# - we create a RelWithDebInfo build
99
# - we make sure we use a persistent build dir so we get access to the .gcda files
0 commit comments