Repository navigation
ci(release): one-click release workflow - #54
Merged
Merged
Conversation
Release is now a manual "Run workflow" button (patch/minor/major) that runs the tests, bumps Cargo.toml/Cargo.lock, writes CHANGELOG.md from the conventional commits since the last tag, commits and tags on main, builds the binaries, publishes the GitHub release and updates the Homebrew tap. Also applies scripts/patch_generated_api.sh before building, which the release build was missing. Co-Authored-By: Claude Opus 5.5 <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
Turns the release into a single Run workflow click (Actions → Release, branch
main, choosepatch/minor/major). One run does:cargo test --lockedvX.Y.Ztag + the chosen bump, written toCargo.tomlandCargo.lock, sotellers --versionmatches the releasescripts/release_notes.shgroups the commits since the last tag (Features / Bug Fixes / …, with PR links) and adds the result to the top ofCHANGELOG.mdchore(release): vX.Y.Zto main and pushes the tagtellers-ai/homebrew-tellersAlso fixes the release build, which skipped
scripts/patch_generated_api.sh.The workflow no longer runs on tag push.
Requirements
HOMEBREW_TAP_TOKEN(already referenced before this PR)mainwithGITHUB_TOKEN. If branch protection gets added later,github-actions[bot]has to be allowed to bypass it.Testing
scripts/release_notes.sh v0.0.5locally. It produces the expected sections for Align local OpenAPI generation with CI #47–chore(ci): add Dependabot for Cargo and GitHub Actions #52.sededits and the CHANGELOG prepend logic under Ubuntu GNU sed /bash -e.🤖 Generated with Claude Code