Commit 7200194
authored
chore(release): pin pyproject to 0.7.0rc1 + fix RELEASING.md (#59)
* chore(release): pin pyproject to 0.7.0rc1 + fix RELEASING.md
The v0.7.0-rc1 release workflow failed at the version-match
validator because pyproject.toml carried "0.7.0" but the tag
normalizes to "0.7.0rc1". Bump pyproject (and the mirrored
__version__ and smoke-test assertion) to the rc form so the tag
can be re-pushed and the workflow can proceed to publish.
Fix RELEASING.md to match what the workflow actually checks:
- The pre-release checklist now says the pyproject version must
match the tag after PEP 440 normalization, calls out that the rc
and real-release bumps are separate commits, and lists the
mirrored files that also need updating.
- The "Tagging the real release" section now includes the bump-to-
final-version commit step before tagging.
- The "Iterating on an rc" section spells out the per-bump commit
pattern and documents the recoverable tag-delete path for rcs
that fail before reaching a publish step.
* docs(releasing): align bump examples with PR-first flow
CoPilot caught two issues in the new RELEASING.md sections:
- The "Tagging the real release" example used "chore(release):
bump to v0.7.0" while the convention stated earlier in the doc
is "chore(release): vX.Y.Z". Aligned the example.
- The same section's shell block conflated the local commit, PR,
and tag steps. Since the repo doesn't allow direct push to main,
the bump always lands via PR. Restructured to match the
"Tagging the rc" pattern: prose lists the files to update, then
a separate code block shows only the tag-and-push commands
assuming main is already updated. Applied the same shape to
"Iterating on an rc" since it had the same issue.1 parent 6423990 commit 7200194
5 files changed
Lines changed: 44 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
54 | 60 | | |
55 | 61 | | |
56 | 62 | | |
| |||
109 | 115 | | |
110 | 116 | | |
111 | 117 | | |
112 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
113 | 128 | | |
114 | 129 | | |
115 | 130 | | |
| |||
136 | 151 | | |
137 | 152 | | |
138 | 153 | | |
139 | | - | |
140 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
141 | 166 | | |
142 | 167 | | |
143 | | - | |
144 | 168 | | |
145 | 169 | | |
146 | 170 | | |
| |||
149 | 173 | | |
150 | 174 | | |
151 | 175 | | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
152 | 183 | | |
153 | 184 | | |
154 | 185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments