| name | trigger-release-build |
| description | Safely dispatch a new release build or same-version republish from the immutable current origin/main SHA. Use only when explicitly asked to publish, rebuild, or republish a game version, including requests such as “发布 14170”, “重新发布 14170”, “使用当前 main 重建 14170 的 release”, or “触发最新游戏版本的 release build”. |
| disable-model-invocation | true |
Trigger Release Build
Use the bundled script as the only remote-operation entry point. Do not construct an ad-hoc gh workflow run
command, accept a user-supplied SHA, move a tag, edit a Release, cancel work, or merge an output PR.
Procedure
-
Extract the requested game version, or use latest only when the user explicitly asks for the latest version.
-
Run from any directory:
uv run python .claude/skills/trigger-release-build/scripts/trigger_release_build.py <GAMEVER-or-latest>
-
Report the script's selected version, selected mode, full SOURCE_SHA, commit subject, and Actions run URL.
-
If the script refuses the operation, surface its exact safety reason and stop. Do not bypass repository, auth,
version, tag/Release, duplicate-work, or origin/main checks.
The script derives the mode from remote state: use mode=new only when both the tag and Release are absent, and use
mode=republish only when both exist. Reject mixed states and do not accept a user-supplied mode. Any requested
generator/config change must already be merged into origin/main.