diff --git a/.github/actions/install-crucible/install-crucible.sh b/.github/actions/install-crucible/install-crucible.sh index 642a2d7..bee2732 100755 --- a/.github/actions/install-crucible/install-crucible.sh +++ b/.github/actions/install-crucible/install-crucible.sh @@ -199,8 +199,10 @@ if [ "${CI_TARGET}" != "none" -a "${CI_TARGET_DIR}" != "none" ]; then echo "ERROR: ${1}" exit 1 } + set -x jq_update ${REPO_FILE} ${CI_TARGET}:primary-branch --arg repository "$CI_TARGET}" --arg primary_branch "HEAD" '(.official[] | select(.name == $repository) | ."primary-branch") |= $primary_branch' jq_update ${REPO_FILE} ${CI_TARGET}:checkout.target --arg repository "$CI_TARGET}" --arg checkout_target "HEAD" '(.official[] | select(.name == $repository) | .checkout.target) |= $checkout_target' + set +x popd > /dev/null else