summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoris Roovers <joris.roovers@gmail.com>2023-03-28 10:36:03 +0200
committerGitHub <noreply@github.com>2023-03-28 10:36:03 +0200
commit37f4f5f32ccb7099a3be3131e2c14318f6f4f99b (patch)
treebbca65f4fe081d388a1b0f2d8f27b124b0a261eb
parent330eb5cff0f25c2dbc27969a9ce8daef91e4f847 (diff)
Switch hatch-vcs version scheme to release-branch-semver (#478)
- Correctly increase dev versions when micro tag versions are present - Removes the need to maintain dev tags Relates to #456
-rw-r--r--gitlint-core/pyproject.toml2
-rw-r--r--pyproject.toml1
2 files changed, 2 insertions, 1 deletions
diff --git a/gitlint-core/pyproject.toml b/gitlint-core/pyproject.toml
index 7dd2cf1..36f9708 100644
--- a/gitlint-core/pyproject.toml
+++ b/gitlint-core/pyproject.toml
@@ -49,7 +49,7 @@ gitlint = "gitlint.cli:cli"
[tool.hatch.version]
source = "vcs"
-raw-options = { root = ".." }
+raw-options = { root = "..", version_scheme = "release-branch-semver"}
[tool.hatch.build]
include = [
diff --git a/pyproject.toml b/pyproject.toml
index 7435b66..165ebba 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -36,6 +36,7 @@ classifiers = [
[tool.hatch.version]
source = "vcs"
+raw-options = { version_scheme = "release-branch-semver" }
[tool.hatch.build]
exclude = ["*"]