Skip to content

Commit 50556c1

Browse files
authored
Bump minor versions in hatch version (#298)
Sync with tmt. This is necessary in order to properly adjust the requirements in tmt on fmf. I.e. we want to use `fmf >= 1.8.0` as that would be the new version, but currently `main` is at `1.7.1.dev3+ga1f9d91b9`
1 parent e90b1af commit 50556c1

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,10 @@ docs = [
5353
[project.scripts]
5454
fmf = 'fmf.cli:cli_entry'
5555

56-
[tool.hatch]
57-
version.source = 'vcs'
56+
[tool.hatch.version]
57+
source = 'vcs'
58+
raw-options.version_scheme = "release-branch-semver"
59+
raw-options.git_describe_command = ["git", "describe", "--dirty", "--tags", "--long", "--abbrev=9", "--match", "*[0-9]*"]
5860

5961
[tool.hatch.envs.default]
6062
platforms = ["linux"]

0 commit comments

Comments
 (0)