feat(makefile): add make release target#8
Merged
matthew-on-git merged 1 commit intomainfrom Mar 7, 2026
Merged
Conversation
Adds scripts/release.sh and `make release VERSION=x.y.z` for cutting manual releases when features warrant a specific semver (e.g., minor bump for a new language). The script validates preconditions, updates CHANGELOG.md, commits, tags, and pushes — triggering the existing build and release workflows. Weekly cron builds continue to handle routine patch bumps automatically. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
scripts/release.sh— validates preconditions, updates CHANGELOG.md, commits, tags, and pushes to trigger existing build/release workflowsmake release VERSION=x.y.zMakefile targetreleaseandrustscopes to conventional commit scopes tableContext
When significant features are merged (e.g., a new language ecosystem), the developer needs to manually cut a release with the correct semver. Previously there was no script or documented process — features sat unreleased on main waiting for the weekly cron patch bump.
Test plan
bash scripts/release.sh --help— clean outputbash scripts/release.sh(no args) — clear error, exit 1bash scripts/release.sh abc— semver validation error, exit 1make release(no VERSION) — clear error, exit 2make help— shows release targetmake check— all checks pass🤖 Generated with Claude Code