Commit ebf58e5
fix(release): move version comment above the version line
The auto-release workflow uses sed with the regex
\`^version = ".*"\$\` to bump the version. An inline trailing
comment broke the \`\$\` anchor, causing sed to silently no-op.
Without the version bump, the workflow would tag v0.4.0 again,
fail to create a duplicate GitHub release, and \`uv publish\`
would error because 0.4.0 already exists on PyPI.
Verified by simulating the sed against the file for patch,
minor, and major bumps.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 9f0d087 commit ebf58e5
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
0 commit comments