Skip to content

Commit 4f6aab6

Browse files
committed
fix: move semantic release build command
1 parent 8ea98be commit 4f6aab6

File tree

1 file changed

+4
-14
lines changed

1 file changed

+4
-14
lines changed

pyproject.toml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -68,32 +68,22 @@ build-backend = "hatchling.build"
6868

6969
[tool.semantic_release]
7070
branch = "main"
71-
72-
[tool.semantic_release.branches.main]
73-
match = "main"
74-
prerelease = false
7571
version_toml = ["pyproject.toml:project.version"]
7672
build_command = """
77-
pip install uv
7873
uv lock --upgrade-package python-roborock
7974
git add uv.lock
8075
uv build
8176
"""
8277
changelog_file = 'CHANGELOG.md'
8378
commit = true
8479

80+
[tool.semantic_release.branches.main]
81+
match = "main"
82+
prerelease = false
83+
8584
[tool.semantic_release.branches.temp-main-branch]
8685
match = "temp-main-branch"
8786
prerelease = false
88-
version_toml = ["pyproject.toml:project.version"]
89-
build_command = """
90-
pip install uv
91-
uv lock --upgrade-package python-roborock
92-
git add uv.lock
93-
uv build
94-
"""
95-
changelog_file = 'CHANGELOG.md'
96-
commit = true
9787

9888

9989
[tool.semantic_release.commit_parser_options]

0 commit comments

Comments
 (0)