Skip to content

Commit 8494b09

Browse files
committed
fix semantic-release configs
- allow_zero_version since we've been on 0.x.y - removed deprecated changelog_file field - add build command
1 parent c2da2e0 commit 8494b09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,12 @@ version_toml = ["pyproject.toml:project.version"]
184184
version_variables = ["stagehand/__init__.py:__version__"]
185185
assets = []
186186
build_command_env = []
187+
build_command = "python -m build" # TODO move to uv
187188
commit_message = "{version}\n\nAutomatically generated by python-semantic-release"
188189
commit_parser = "conventional"
189190
logging_use_named_masks = false
190191
major_on_zero = false # set this to true when ready for v1
191-
allow_zero_version = false
192+
allow_zero_version = true
192193
no_git_verify = false
193194
tag_format = "v{version}"
194195

@@ -198,7 +199,6 @@ prerelease_token = "rc"
198199
prerelease = false
199200

200201
[tool.semantic_release.changelog]
201-
changelog_file = ""
202202
exclude_commit_patterns = []
203203
mode = "update"
204204
insertion_flag = "<!-- version list -->"

0 commit comments

Comments
 (0)