Commit e79b3d7
fix: defer tag push until after build; update docs for merged release workflow
release.yml: split "Tag release" into two steps — create the tag locally
first (so hatch-vcs can derive the version during uv build), then push to
origin only after a successful build. The push step also fails fast with a
clear error if the tag already exists on origin (e.g. workflow re-run for
the same version). Adds a prominent comment on publish-testpypi noting
that PyPI/TestPyPI Trusted Publisher configs must reference release.yml
(not the former publish.yml).
spec/plan docs: update all references to the old two-workflow model
(tag-only release.yml + tag-triggered publish.yml, GitHub App token)
to reflect the merged release.yml that runs tests, builds, publishes to
TestPyPI→PyPI, and creates the GitHub Release using GITHUB_TOKEN only.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 2e46084 commit e79b3d7
3 files changed
Lines changed: 43 additions & 44 deletions
File tree
- .github/workflows
- docs/metamorphic
- plans
- specs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
75 | 88 | | |
76 | 89 | | |
77 | 90 | | |
78 | 91 | | |
79 | 92 | | |
80 | 93 | | |
81 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
82 | 100 | | |
83 | 101 | | |
84 | 102 | | |
| |||
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1092 | 1092 | | |
1093 | 1093 | | |
1094 | 1094 | | |
1095 | | - | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
1096 | 1100 | | |
1097 | | - | |
| 1101 | + | |
| 1102 | + | |
| 1103 | + | |
1098 | 1104 | | |
1099 | 1105 | | |
1100 | 1106 | | |
| |||
1124 | 1130 | | |
1125 | 1131 | | |
1126 | 1132 | | |
1127 | | - | |
| 1133 | + | |
1128 | 1134 | | |
1129 | | - | |
| 1135 | + | |
1130 | 1136 | | |
1131 | 1137 | | |
1132 | 1138 | | |
| |||
Lines changed: 11 additions & 36 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
329 | | - | |
| 329 | + | |
330 | 330 | | |
331 | 331 | | |
332 | | - | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
333 | 335 | | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
357 | 339 | | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
| 340 | + | |
| 341 | + | |
368 | 342 | | |
369 | | - | |
| 343 | + | |
| 344 | + | |
370 | 345 | | |
371 | 346 | | |
372 | 347 | | |
| |||
0 commit comments