From 37f4f5f32ccb7099a3be3131e2c14318f6f4f99b Mon Sep 17 00:00:00 2001 From: Joris Roovers Date: Tue, 28 Mar 2023 10:36:03 +0200 Subject: 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 --- gitlint-core/pyproject.toml | 2 +- pyproject.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 = ["*"] -- cgit v1.2.3