diff --git a/pyproject.toml b/pyproject.toml index 4bb236b..4880056 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,8 +52,10 @@ docs = [ [project.scripts] fmf = 'fmf.cli:cli_entry' -[tool.hatch] -version.source = 'vcs' +[tool.hatch.version] +source = 'vcs' +raw-options.version_scheme = "release-branch-semver" +raw-options.git_describe_command = ["git", "describe", "--dirty", "--tags", "--long", "--abbrev=9", "--match", "*[0-9]*"] [tool.hatch.envs.default] platforms = ["linux"]