Commit 7ba547b
fix: strip trailing comments when extracting Cargo.toml version (#26)
* fix: strip trailing comments when extracting Cargo.toml version
The sed pattern in check/tag-version only matched up to the closing
quote but didn't consume the rest of the line, so the release-please
comment suffix (# x-release-please-version) leaked into the extracted
version string, failing the tag comparison.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix: use cargo metadata + jq to extract version from Cargo.toml
Replaces fragile sed parsing with structured JSON output from cargo,
avoiding issues with inline comments like the release-please version
annotation.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 91a81f8 commit 7ba547b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
0 commit comments