CI: auto-cut a versioned release on merge to main (drop nightly) - #8
Merged
Conversation
- build.yml: PR-only now (build check + downloadable artifact). Removed the push-to-main trigger and the rolling 'nightly' pre-release. - auto-release.yml: on push to main, auto-increment the patch from the latest v* tag and dispatch nudge-release.yml (which signs, notarizes, publishes). Uses workflow_dispatch (a GITHUB_TOKEN exception that does trigger runs), so no PAT needed. Manual runs can bump minor/major via the 'bump' input. Co-Authored-By: Claude Opus 4.8 (1M context) <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.
Replaces the "weird nightly" with real versioned releases on every merge to
main.Changes
build.yml— now PR-only (build check +Nudge-appartifact). Removed the push-to-maintrigger and the rollingnightlypre-release. (Existingnightlyrelease + tag deleted.)auto-release.yml(new) — on push tomain, auto-increments the patch from the latestv*tag and dispatchesnudge-release.yml(which signs, notarizes, and publishes). Manual runs can bumpminor/majorvia thebumpinput.How it flows
merge PR → main→auto-releasecomputes nextvX.Y.Z→ dispatchesnudge-release→ signed + notarized GitHub release (replaces same-version tag if present).Uses
workflow_dispatchto hand off (a documentedGITHUB_TOKENexception that does trigger the next run), so no PAT needed.Depends on
nudge-release.yml) — until merged, auto-releases are ad-hoc signed.[release]commit-message marker instead — easy follow-up.🤖 Generated with Claude Code