We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abe00fb commit db35e50Copy full SHA for db35e50
1 file changed
template/pyproject.toml.jinja
@@ -52,6 +52,23 @@ version_toml = ["pyproject.toml:project.version"]
52
type = "gitlab"
53
{% endif -%}
54
55
+# Commit parser - this should be at the top level
56
+commit_parser = "conventional"
57
+
58
+# Allow 0.x.x versions (prevents jumping straight to 1.0.0)
59
+allow_zero_version = true
60
61
+# Don't do major version bumps when in 0.x.x
62
+major_on_zero = false
63
64
+# Tag format
65
+tag_format = "v{version}"
66
67
+# Branch configuration
68
+[tool.semantic_release.branches.main]
69
+match = "main"
70
+prerelease = false
71
72
build_command = """
73
python -m pip install -e '.[build]'
74
uv lock --upgrade-package {{project_name}}
0 commit comments