chore: enforce standard branch release workflow

This commit is contained in:
john
2026-07-01 10:50:48 +08:00
parent 394d3640d1
commit 5a970e612e
9 changed files with 324 additions and 26 deletions
+7
View File
@@ -84,6 +84,13 @@ need_cmd scp
need_cmd tar
need_cmd shasum
if [[ -x "${ROOT}/scripts/check-release-ready.sh" ]]; then
bash "${ROOT}/scripts/check-release-ready.sh"
else
echo "缺少发布前闸门: ${ROOT}/scripts/check-release-ready.sh" >&2
exit 1
fi
check_release_scope() {
local bypass="${ALLOW_PORTAL_RELEASE_SCOPE_BYPASS:-0}"
if [[ "${bypass}" == "1" ]]; then