Seed/update .ci pipeline from manifest-updater v1.1.1

This commit is contained in:
manifest-updater pipeline seed
2026-06-23 19:01:46 +00:00
parent 94baf897c4
commit 99c63e9509
2 changed files with 104 additions and 99 deletions
+3 -3
View File
@@ -20,16 +20,16 @@ SLUG="$(basename "${GITHUB_REPOSITORY}")"
VER="${GITHUB_REF_NAME#v}"
MAIN="${SLUG}.php"
HOST="${GITHUB_SERVER_URL}"
CFG="mu-release.yaml"
CFG=".mu-release.yaml"
# --- config helpers (yaml via python; pure-convention defaults if absent) -----
cfg() { python3 - "$1" "$2" <<'PY' 2>/dev/null || true
import sys, os
key, default = sys.argv[1], sys.argv[2]
val = default
if os.path.isfile("mu-release.yaml"):
if os.path.isfile(".mu-release.yaml"):
import yaml
data = yaml.safe_load(open("mu-release.yaml")) or {}
data = yaml.safe_load(open(".mu-release.yaml")) or {}
cur = data
for part in key.split("."):
cur = cur.get(part) if isinstance(cur, dict) else None