ci: make the pinned libdrmtap commit SHA literal

do not let an inherited DRMTAP_SHA override the verified commit in CI, so the
tag/commit pair is immutable there. build.py keeps the env override for local
forks.
This commit is contained in:
Mariano Abad
2026-07-21 00:42:01 -03:00
parent 56ab299d01
commit 421d997609

View File

@@ -1710,7 +1710,8 @@ jobs:
# this once rustdesk-org carries v0.4.13).
export DRMTAP_REPO="https://github.com/fxd0h/libdrmtap"
export DRMTAP_REF="v0.4.13"
export DRMTAP_SHA="${DRMTAP_SHA:-c9cf0938f3b10a3d4a9eeb9c6f97aaa1606c6b4a}"
# Literal (not overridable by an inherited env var) so the tag/commit pair is immutable in CI.
export DRMTAP_SHA="c9cf0938f3b10a3d4a9eeb9c6f97aaa1606c6b4a"
# Guard: refuse a loose/branch ref so a moving `main` can never silently
# regress the pin. Only an EXACT vX.Y.Z tag is accepted (a strict anchored
# match, so values like v0.4.13-ci or a branch that resolves under