12 lines
246 B
Bash
12 lines
246 B
Bash
|
|
#!/usr/bin/env bash
|
||
|
|
set -euo pipefail
|
||
|
|
|
||
|
|
STATUS_FILE="${1:?phase status file required}"
|
||
|
|
|
||
|
|
if ! grep -q '^RELEASE_SEMANTICS class=' "$STATUS_FILE"; then
|
||
|
|
echo "missing release semantics summary" >&2
|
||
|
|
exit 1
|
||
|
|
fi
|
||
|
|
|
||
|
|
echo "RELEASE_SEMANTICS_GUARD: PASS"
|