feat(ci): auto-create the GitHub Release on tag push#50
Merged
Conversation
MateoLostanlen
approved these changes
Jun 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
releasejob topush.ymlthat auto-creates the GitHub Release on everyvX.Y.Ztag push, so maintainers no longer write release notes by hand.Docker image:+Bundled model:) followed by GitHub's auto-generated "What's Changed" (--generate-notes).scripts/create-github-release.sh(mirrorsscripts/release-api.sh) with a stub-ghcontract test; the job just calls it.docs/releasing.mdrunbook covering the full flow and the two decoupled version axes (code tag vsapi/MODEL_VERSION).Design
release needs: docker, so a Release is never created if the image build/push fails. Permissions are least-privilege: top-levelcontents: read,releaseoverrides tocontents: write.gh release createfails if the Release already exists — no silent overwrite.Spec:
docs/specs/2026-06-11-github-release-automation-design.mdTest Plan
bash scripts/test-create-github-release.sh→ PASS (asserts header content + exactgh release createargs; covers empty-MODEL_VERSIONabort)needs: docker,contents: write,GH_TOKENwired)100755in git; header renders with literal backticks + correct expansionvX.Y.Ztag