Skip to content

CI: auto-cut a versioned release on merge to main (drop nightly) - #8

Merged
maxonary merged 1 commit into
mainfrom
ci/auto-release-on-merge
Jul 15, 2026
Merged

CI: auto-cut a versioned release on merge to main (drop nightly)#8
maxonary merged 1 commit into
mainfrom
ci/auto-release-on-merge

Conversation

@maxonary

Copy link
Copy Markdown
Owner

Replaces the "weird nightly" with real versioned releases on every merge to main.

Changes

  • build.yml — now PR-only (build check + Nudge-app artifact). Removed the push-to-main trigger and the rolling nightly pre-release. (Existing nightly release + tag deleted.)
  • auto-release.yml (new) — on push to main, auto-increments the patch from the latest v* tag and dispatches nudge-release.yml (which signs, notarizes, and publishes). Manual runs can bump minor/major via the bump input.

How it flows

merge PR → mainauto-release computes next vX.Y.Z → dispatches nudge-release → signed + notarized GitHub release (replaces same-version tag if present).

Uses workflow_dispatch to hand off (a documented GITHUB_TOKEN exception that does trigger the next run), so no PAT needed.

Depends on

⚠️ Every merge cuts a release. If that's too chatty, we can gate it on a label or a [release] commit-message marker instead — easy follow-up.

🤖 Generated with Claude Code

- 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>
@maxonary
maxonary merged commit e5d9b86 into main Jul 15, 2026
3 checks passed
@maxonary
maxonary deleted the ci/auto-release-on-merge branch July 15, 2026 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant