Skip to content

Commit bf47cdf

Browse files
author
Zvi Fried
committed
fix: add PyPI publication to semantic-release
- Add publishCmd to @semantic-release/exec plugin - Ensures packages are automatically published to PyPI on release
1 parent 42f98fd commit bf47cdf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.releaserc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@
5757
[
5858
"@semantic-release/exec",
5959
{
60-
"prepareCmd": "uv version ${nextRelease.version} && uv build --no-sources"
60+
"prepareCmd": "uv version ${nextRelease.version} && uv build --no-sources",
61+
"publishCmd": "uv publish --token ${PYPI_TOKEN}"
6162
}
6263
],
6364
[

0 commit comments

Comments
 (0)