Files
openmotion/desktop/scripts/assert-stable-release-head.sh
霜草 4255ce013e fix(export): recover first-frame timeouts and verify encoded frames (#1189)
* fix(render): recover first-frame screenshot timeouts at lower concurrency

* fix(render): type diagnostic lookup keys and tracked reasons

* fix(export): verify playable frames and report failed checks

* Type export verification checks against the telemetry allowlist

---------

Co-authored-by: qindong <qindong@qindongs-MacBook-Pro.local>
2026-11-30 17:37:22 +08:00

13 lines
494 B
Bash

#!/usr/bin/env bash
set -euo pipefail
if [[ "${CHANNEL:?}" != stable ]]; then
exit 0
fi
main_sha=$(git ls-remote --exit-code origin refs/heads/main | cut -f1)
if [[ "${GITHUB_REF:?}" != refs/heads/main || "${GITHUB_SHA:?}" != "$main_sha" || "$(git rev-parse HEAD)" != "$main_sha" ]]; then
echo "::error::Stable release source differs from current main. Start a fresh release run."
exit 1
fi
echo "Verified stable source $main_sha in run ${GITHUB_RUN_ID:?}" >> "${GITHUB_STEP_SUMMARY:?}"