Automate manifest.json version updates during release #9

Merged
deluan merged 6 commits from claude/automate-manifest-versioning-MJ9WM into main 2026-02-07 18:17:09 -07:00

6 Commits

Author SHA1 Message Date
deluan 63ab3ec57e Fix script injection and use jq for manifest updates
Use environment variables instead of direct ${{ inputs.version }}
interpolation in shell scripts to prevent script injection.
Switch from sed to jq for updating manifest.json, consistent
with how release.yml already reads the version.
2026-02-07 20:15:29 -05:00
Claude ede7856bdb Fix YAML syntax error in create-release workflow
The sed pattern with `*` on a single-line `run:` was interpreted as a
YAML alias. Switch to a block scalar (`run: |`) to avoid this.
2026-02-08 01:09:10 +00:00
Claude 32b623f59d Simplify make release to trigger the GitHub workflow
Instead of duplicating the release logic locally, `make release` now
just validates the version format and triggers the create-release
workflow via `gh workflow run`.

https://claude.ai/code/session_0158SxS2ATe6PL8zTpsoHRFn
2026-02-07 23:59:58 +00:00
Claude e913e0988f Address PR review feedback
- Add SHELL declaration to Makefile for bash compatibility
- Add check that release is run from main branch
- Use jq instead of grep -oP for JSON parsing in release.yml
- Move checkout before git ls-remote in create-release.yml
- Add --allow-empty to commit in create-release.yml

https://claude.ai/code/session_0158SxS2ATe6PL8zTpsoHRFn
2026-02-07 22:59:04 +00:00
Claude 995f5737fc Add workflow_dispatch workflow to create releases from GitHub UI
Adds a "Create Release" workflow that can be triggered manually from the
Actions tab. It takes a version string, validates the format, checks for
duplicate tags, runs tests, updates manifest.json, commits, tags, and
pushes — which then triggers the existing release workflow to build and
publish the artifact.

https://claude.ai/code/session_0158SxS2ATe6PL8zTpsoHRFn
2026-02-07 22:49:07 +00:00
Claude 9ee12f2a31 Automate manifest.json version updates during release
Update `make release` to write the version into manifest.json and commit
it before tagging, so the packaged artifact always carries the correct
version. Also add a CI guard in the release workflow that fails early if
the tag and manifest versions ever diverge.

https://claude.ai/code/session_0158SxS2ATe6PL8zTpsoHRFn
2026-02-07 22:46:44 +00:00