CI: Fix Composer root version guessing (again)

This commit is contained in:
Daniel Rudolf 2022-03-07 21:24:20 +01:00
parent cb2cf3a4a3
commit 998f0d1dbd
No known key found for this signature in database
GPG key ID: A061F02CD8DE4538

View file

@ -51,8 +51,8 @@ runs:
COMPOSER_ROOT_VERSION=
COMPOSER_ROOT_VERSION="$(composer config \
extra.branch-alias."dev-${GITHUB_HEAD_REF:-GITHUB_REF_NAME}" \
2> /dev/null)"
extra.branch-alias."dev-${GITHUB_HEAD_REF:-$GITHUB_REF_NAME}" \
2> /dev/null || true)"
if [ -z "$COMPOSER_ROOT_VERSION" ]; then
COMPOSER_ROOT_VERSION="$(php -r "