Skip to content

ci: allow cutting a release via workflow_dispatch#7

Merged
chenchaoyi merged 1 commit into
masterfrom
claude/bold-wright-u43svu
Jun 18, 2026
Merged

ci: allow cutting a release via workflow_dispatch#7
chenchaoyi merged 1 commit into
masterfrom
claude/bold-wright-u43svu

Conversation

@chenchaoyi

Copy link
Copy Markdown
Owner

Adds a workflow_dispatch trigger (with a version input) to the release workflow so a release can be cut without pushing a v* tag — the Actions runner's GITHUB_TOKEN creates the tag and release via action-gh-release.

This unblocks cutting v1.1.0 (the just-merged agent-friendly release, #6) from environments where tag pushes aren't permitted, and is a generally useful addition: releases can now also be triggered from the Actions UI.

What changed

  • on: now includes workflow_dispatch with a required version input (e.g. v1.1.0), alongside the existing push: tags: ['v*'].
  • A Resolve version step derives the version from the dispatch input or the tag ref.
  • tag_name is set explicitly so the tag-push and manual-dispatch paths behave identically (on dispatch, action-gh-release creates the tag at the checked-out master SHA).

No change to the build matrix, packaging, checksums, or release-notes generation.

🤖 Generated with Claude Code


Generated by Claude Code

The release workflow previously triggered only on a pushed `v*` tag. Add a
`workflow_dispatch` trigger with a `version` input so a release can also be
cut manually (from the Actions UI or the API) without pushing a tag — the
runner's GITHUB_TOKEN creates the tag and release via action-gh-release.

A "Resolve version" step derives the version from the dispatch input or the
tag ref, and `tag_name` is set explicitly so both paths behave identically.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01E11t2fuxGyKayRSL3Yu5SE
@chenchaoyi chenchaoyi merged commit 13d5dce into master Jun 18, 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.

2 participants