Commit 087b797
ci: publish to PyPI via trusted publishing instead of an API token (#411)
* ci: publish release.yml via trusted publishing instead of an API token
* ci: publish pre-release.yml via trusted publishing instead of an API token
* ci: move id-token permission to the publishing job
The permissions block landed on build_sdist, which only builds an sdist. The
pypi-publish job runs gh-action-pypi-publish and had no permissions at all, so
ACTIONS_ID_TOKEN_REQUEST_TOKEN was unset and the OIDC exchange failed.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* docs: add changelog entry for trusted publishing
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* Bump version to 1.2.0-alpha
The -alpha suffix is what lets repeat pre-releases bump to a1, a2 and so on. A
plain 1.2.0 works for the first pre-release, then the stamper raises
InvalidVersionError because there is no prerelease segment to increment.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: TheGupta2012 <harshit@qbraid.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 5313d03 commit 087b797
4 files changed
Lines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
160 | 163 | | |
161 | 164 | | |
162 | 165 | | |
| |||
174 | 177 | | |
175 | 178 | | |
176 | 179 | | |
177 | | - | |
178 | | - | |
179 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
151 | 154 | | |
152 | 155 | | |
153 | 156 | | |
| |||
165 | 168 | | |
166 | 169 | | |
167 | 170 | | |
168 | | - | |
169 | | - | |
170 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments