feat: add guarded portal canary release
Memind CI / Test, build, and release guards (push) Failing after 2m14s

This commit is contained in:
john
2026-07-26 19:51:44 +08:00
parent 058d646b32
commit 286069449b
33 changed files with 2161 additions and 53 deletions
+9 -2
View File
@@ -53,9 +53,16 @@ case "${branch}" in
;;
esac
if [[ -n "$(git -C "${ROOT}" status --porcelain=v1 --untracked-files=all)" ]]; then
# The runtime builder intentionally strips this legacy tracked content from the
# source-free artifact. The complete Gate applies the same narrow exception.
relevant_status="$(
git -C "${ROOT}" status --porcelain=v1 --untracked-files=all -- \
. \
':(exclude).runtime/portal/public/plaza-covers/**'
)"
if [[ -n "${relevant_status}" ]]; then
echo "Release check failed: worktree has uncommitted or untracked changes." >&2
git -C "${ROOT}" status --short --untracked-files=all >&2
printf '%s\n' "${relevant_status}" >&2
exit 1
fi