Skip to content

Commit cb47c84

Browse files
committed
update the releaserc file
1 parent 6c0cadd commit cb47c84

File tree

1 file changed

+17
-9
lines changed

1 file changed

+17
-9
lines changed

.releaserc.json

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,33 @@
11
{
2-
"branches": [
3-
"main"
4-
],
5-
"tag_format": "v${version}",
2+
"branch": "main",
3+
"tag_format": "v{version}",
4+
"version_variable": "pyproject.toml:tool.poetry.version",
5+
"upload_to_github": true,
6+
"upload_to_pypi": true,
67
"plugins": [
78
"semantic_release.plugins.commit_analyzer",
89
"semantic_release.plugins.release_notes_generator",
910
"semantic_release.plugins.changelog",
1011
"semantic_release.plugins.bump_version",
11-
"semantic_release.plugins.git",
12-
"semantic_release.plugins.github",
13-
"semantic_release.plugins.pypi"
1412
[
15-
"@semantic-release/git",
13+
"semantic_release.plugins.git",
1614
{
17-
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}",
15+
"message": "chore(release): {new_version} [skip ci]\n\n{changelog}",
1816
"assets": [
1917
"CHANGELOG.md",
2018
"pyproject.toml"
2119
]
2220
}
21+
],
22+
"semantic_release.plugins.github",
23+
[
24+
"semantic_release.plugins.pypi",
25+
{
26+
"username": "__token__",
27+
"password": "${PYPI_TOKEN}",
28+
"repository_url": "https://upload.pypi.org/legacy/",
29+
"build_command": "poetry build"
30+
}
2331
]
2432
]
2533
}

0 commit comments

Comments
 (0)