Commit d42e0ca
authored
fix: prefix snapshot version SHA with
## Summary
- Release workflow failed because `cargo metadata` rejects semver pre-release identifiers with leading zeros (e.g. `0.0.0-07710393.20260225-0413`)
- Prefix the short SHA with `g` (git convention) so the identifier is alphanumeric (`g07710393`), bypassing the numeric leading-zero rule
- This affects ~6.25% of commits (those whose SHA starts with `0`)
## Test plan
- [x] Verified the only consumer is `release.yml` which uses the version string opaquely
- [ ] Re-run the release workflow to confirm it passes
🤖 Generated with [Claude Code](https://claude.com/claude-code)g to avoid semver leading zero error (#628)1 parent 0771039 commit d42e0ca
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
0 commit comments