Commit 84d2e3a
fix(tag): sync Cargo.lock on release bump (unbreak lockfile CI) (#15)
* fix(release): sync Cargo.lock to 0.4.0 (unbreak lockfile CI)
The v0.4.0 release commit bumped Cargo.toml but left Cargo.lock pinning
ai-meta 0.3.0, so the `lockfile` gate (cargo metadata --locked) went red
on main. Resync the workspace entry; registry deps are untouched.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* fix(tag): refresh Cargo.lock on release bump so it can't drift
`meta tag` rewrote the version in Cargo.toml but never touched Cargo.lock,
which pins the crate's own version. Every bump left the lockfile stale,
failing the `lockfile` CI gate and `cargo publish --locked`.
For Rust projects with a Cargo.lock, run `cargo update --workspace`
(offline first, networked fallback) after the version rewrite, stage the
lockfile into the release commit, and hard-fail rather than commit a
stale lock. A unit test covers the profile/lockfile gate.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent e7c1f89 commit 84d2e3a
2 files changed
Lines changed: 58 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
111 | 120 | | |
112 | 121 | | |
113 | 122 | | |
| |||
251 | 260 | | |
252 | 261 | | |
253 | 262 | | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
254 | 293 | | |
255 | 294 | | |
256 | 295 | | |
| |||
288 | 327 | | |
289 | 328 | | |
290 | 329 | | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
291 | 348 | | |
0 commit comments