CI: Remove buildspec usage from Zsh scripts

This commit is contained in:
PatTheMav
2026-01-12 11:18:05 -05:00
committed by Ryan Foster
parent 5e1cd6057a
commit ee374486a2
3 changed files with 9 additions and 15 deletions
+7 -3
View File
@@ -23,9 +23,13 @@ local deps_label
local deps_hash
IFS=';' read -r deps_version deps_baseurl deps_label deps_hash deps_revision <<< \
"$(jq -r --arg target "${target}" \
'.dependencies["cef"] | {version, baseUrl, "label", "hash": .hashes[$target], "revision": .revision[$target]} | join(";")' \
${buildspec_file})"
"$(jq -r --arg target "${target}" '
.configurePresets[]
| select(.name=="dependencies")
| .vendor["obsproject.com/obs-studio"].dependencies["cef"]
| {version, baseUrl, "label", "hash": .hashes[$target], "revision": .revision[$target]}
| join(";")
' ${project_root}/CMakePresets.json)"
if (( ! deps_version )) {
log_error 'No valid cef spec found in buildspec.json.'