2021-02-03 04:51:40 +00:00
|
|
|
{
|
|
|
|
"branches": ["v5.x"],
|
2021-02-04 07:27:17 +00:00
|
|
|
"plugins": [
|
2021-02-03 04:51:40 +00:00
|
|
|
"@semantic-release/commit-analyzer",
|
|
|
|
"@semantic-release/release-notes-generator",
|
2021-02-04 07:27:17 +00:00
|
|
|
[
|
|
|
|
"@semantic-release/exec", {
|
2022-08-03 10:46:30 +00:00
|
|
|
"prepareCmd": 'sed -ir -E "s/\"[0-9]+\.[0-9]+\.[0-9]+\"/\"${nextRelease.version}\"/" bench/__init__.py'
|
2021-02-04 07:27:17 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"@semantic-release/exec", {
|
2022-07-29 13:47:22 +00:00
|
|
|
"prepareCmd": "hatch build -t sdist -t wheel"
|
2021-02-04 07:27:17 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"@semantic-release/git", {
|
|
|
|
"assets": ["bench/__init__.py"],
|
|
|
|
"message": "chore(release): Bumped to Version ${nextRelease.version}\n\n${nextRelease.notes}"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"@semantic-release/github", {
|
|
|
|
"assets": [
|
|
|
|
{"path": "dist/*"},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"@semantic-release/exec", {
|
|
|
|
"publishCmd": "python -m twine upload dist/* -u $PYPI_USERNAME -p $PYPI_PASSWORD"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
2021-02-03 04:51:40 +00:00
|
|
|
}
|