|
1 | 1 | { |
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, |
6 | 7 | "plugins": [ |
7 | 8 | "semantic_release.plugins.commit_analyzer", |
8 | 9 | "semantic_release.plugins.release_notes_generator", |
9 | 10 | "semantic_release.plugins.changelog", |
10 | 11 | "semantic_release.plugins.bump_version", |
11 | | - "semantic_release.plugins.git", |
12 | | - "semantic_release.plugins.github", |
13 | | - "semantic_release.plugins.pypi" |
14 | 12 | [ |
15 | | - "@semantic-release/git", |
| 13 | + "semantic_release.plugins.git", |
16 | 14 | { |
17 | | - "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}", |
| 15 | + "message": "chore(release): {new_version} [skip ci]\n\n{changelog}", |
18 | 16 | "assets": [ |
19 | 17 | "CHANGELOG.md", |
20 | 18 | "pyproject.toml" |
21 | 19 | ] |
22 | 20 | } |
| 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 | + } |
23 | 31 | ] |
24 | 32 | ] |
25 | 33 | } |
0 commit comments