Skip to content

Commit

Permalink
Switch hatch-vcs version scheme to release-branch-semver
Browse files Browse the repository at this point in the history
- Correctly increase dev versions when micro tag versions are present
- Removes the need to maintain dev tags

Relates to #456
  • Loading branch information
jorisroovers committed Mar 28, 2023
1 parent 330eb5c commit 88a5a57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gitlint-core/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ classifiers = [

[tool.hatch.version]
source = "vcs"
raw-options = { version_scheme = "release-branch-semver" }

[tool.hatch.build]
exclude = ["*"]
Expand Down

0 comments on commit 88a5a57

Please sign in to comment.