Skip to content

ci(release): 加 workflow_dispatch 手动重跑 - #8

Merged
miaobyte merged 1 commit into
mainfrom
ci/release-dispatch
Sep 14, 2026
Merged

ci(release): 加 workflow_dispatch 手动重跑#8
miaobyte merged 1 commit into
mainfrom
ci/release-dispatch

Conversation

@miaobyte

Copy link
Copy Markdown
Contributor

动机

排障时发现:tag 已存在、release 缺失的情况下,删远程 tag 再推同一 sha 不会重新触发 workflow(实测无新 run),导致无法重建 release。

变更

  • workflow_dispatch 入口,带 tag 输入(须已存在)
  • checkout 指定该 tag;版本号用 RELEASE_TAG(优先)回退 GITHUB_REF_NAME

这样 release 缺失时可手动重跑,不必改动 tag 指向。

🤖 Generated with Claude Code

排障用:tag 已存在但 release 缺失时,删 tag 再推同 sha **不会**重新触发
workflow(实测无新 run)。加手动入口:

- workflow_dispatch 带 tag 输入(须已存在)
- checkout 指定该 tag;RELEASE_TAG 优先于 GITHUB_REF_NAME

Co-Authored-By: Claude Code <noreply@anthropic.com>
@miaobyte
miaobyte merged commit e2c4c6b into main Sep 14, 2026
6 checks passed
@miaobyte
miaobyte deleted the ci/release-dispatch branch September 14, 2026 10:50
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