Skip to content

ci(release-cli): release via workflow_dispatch instead of tag push - #24

Merged
stephane-segning merged 1 commit into
mainfrom
claude/release-dispatch
Jun 28, 2026
Merged

ci(release-cli): release via workflow_dispatch instead of tag push#24
stephane-segning merged 1 commit into
mainfrom
claude/release-dispatch

Conversation

@stephane-segning

Copy link
Copy Markdown
Contributor

What

Switch the release-cli workflow from a tag-push trigger to workflow_dispatch — releases are now cut from the GitHub Actions "Run workflow" button, no local git tag + push from a laptop.

Why

Tagging from a developer machine is clunky and easy to get wrong (wrong ref, forgotten push, prefix typos). A dispatch button is reproducible, auditable, and runnable by anyone with Actions access.

How

  • Trigger is now workflow_dispatch (no inputs).
  • The release job reads the version from cli-version.txt (still the single source of truth), then softprops/action-gh-release creates the cli-v<version> tag + Release at the dispatched commit if it doesn't already exist.
  • To cut a new version: bump cli-version.txt, merge it, then dispatch.

The build matrix (linux-x64, linux-arm64, macos-15 arm64) is unchanged.

Notes

  • workflow_dispatch only shows the "Run workflow" button once this file is on the default branch, so it becomes available after merge.
  • Re-dispatching the same version updates the existing release/assets (idempotent).

🤖 Generated with Claude Code

Cutting a release no longer needs a local `git tag` + push. The workflow now
runs from the Actions tab ("Run workflow"); it reads the version from
cli-version.txt, then creates the cli-v<version> tag + GitHub Release at the
dispatched commit (action-gh-release creates the tag if absent). Bump
cli-version.txt to release a new version.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@stephane-segning
stephane-segning merged commit 79772f0 into main Jun 28, 2026
1 check passed
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