mirror of
https://github.com/nexu-io/openmotion.git
synced 2026-12-02 09:19:40 +08:00
* 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>
13 lines
494 B
Bash
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:?}"
|