Commit 190361f
fix(ci): fix release automation — add version_toml config, gate PyPI publish
Two issues fixed:
1. Missing [tool.semantic_release] version_toml config — semantic-release
created tags but never updated pyproject.toml, so poetry kept building
v1.0.0 while tags were at v1.0.4.
2. Build step ran when no release was made — now gated on
steps.release.outputs.released == 'true'.
- Add [tool.semantic_release] section with version_toml pointing to pyproject.toml
- Add id: release to PSR step so outputs are accessible
- Sync pyproject.toml version to 1.0.4 (matches latest tag)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 3545f89 commit 190361f
2 files changed
+13
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | | - | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
0 commit comments