-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy path.releaserc.json
More file actions
26 lines (26 loc) · 864 Bytes
/
Copy path.releaserc.json
File metadata and controls
26 lines (26 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"branches": ["main"],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
["@semantic-release/exec", {
"verifyConditionsCmd": "uv --version",
"prepareCmd": "sed -i.bak '0,/version = \".*\"/s//version = \"${nextRelease.version}\"/' pyproject.toml && rm -f pyproject.toml.bak",
"publishCmd": "uv build"
}],
["@semantic-release/git", {
"assets": [
"pyproject.toml",
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
}],
["@semantic-release/github", {
"assets": [
{"path": "dist/*.whl", "label": "Python Wheel ${nextRelease.version}"},
{"path": "dist/*.tar.gz", "label": "Source Distribution ${nextRelease.version}"}
]
}]
]
}