Commit 04025e6
docs(release-skill): sync index.json digest after cargo-release (#2445)
## Summary
`cargo-release`'s `pre-release-replacements` rewrites
`skills/worktrunk/SKILL.md`'s `version:` line, but
`docs/static/.well-known/agent-skills/index.json` stores a SHA-256
digest of `SKILL.md` that only the `test_docs_are_in_sync` integration
test regenerates. Without an explicit step, the stale digest gets caught
mid-merge by the pre-merge hook and forces an extra amend cycle (as just
happened on v0.45.1).
This adds a docs-sync invocation to step 7 of the release skill so the
regenerated `index.json` is folded into the final release commit by the
existing `git add -A` in step 9. The first invocation rewrites the
digest and exits non-zero; the second confirms sync.
> _This was written by Claude Code on behalf of @max-sixty_
Co-authored-by: Claude <noreply@anthropic.com>1 parent b839316 commit 04025e6
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
23 | 29 | | |
24 | 30 | | |
25 | 31 | | |
| |||
0 commit comments