Skip to content

Commit 1e107d5

Browse files
committed
chore: add build command to semantic release for main
1 parent dea0443 commit 1e107d5

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,21 @@ branch = "main"
7272
[tool.semantic_release.branches.main]
7373
match = "main"
7474
prerelease = false
75+
version_toml = ["pyproject.toml:project.version"]
76+
build_command = """
77+
uv lock --upgrade-package python-roborock
78+
git add uv.lock
79+
uv build
80+
"""
81+
changelog_file = 'CHANGELOG.md'
82+
commit = true
7583

7684
[tool.semantic_release.branches.temp-main-branch]
7785
match = "temp-main-branch"
7886
prerelease = false
7987
version_toml = ["pyproject.toml:project.version"]
8088
build_command = """
81-
uv lock --upgrade-package "$PACKAGE_NAME"
89+
uv lock --upgrade-package python-roborock
8290
git add uv.lock
8391
uv build
8492
"""

0 commit comments

Comments
 (0)