Commit 845e27f
committed
Put releases back on merges to main
Restores the guard 7ddac38 replaced with `if: false`, so merging to main
bumps the patch version, uploads to PyPI with the existing PYPI_API_TOKEN
secret, and pushes the bump commit plus its tag. The guard matters: the
same workflow also fires on pull requests and a nightly schedule, and an
unguarded job would cut a release from both.
release.yml keeps building, smoke-testing and attesting every v* tag —
only its upload is switched off, so the tag stable.yml pushes cannot
start a second upload of a version PyPI already has. Going back to
tag-driven releases means registering a PyPI trusted publisher for
release.yml and swapping the two conditions.1 parent 99f62a7 commit 845e27f
2 files changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
59 | 67 | | |
60 | 68 | | |
61 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
123 | 127 | | |
124 | 128 | | |
125 | 129 | | |
| |||
0 commit comments