diff --git a/bin/4.6.x-dev/prepare_project_edition.sh b/bin/4.6.x-dev/prepare_project_edition.sh index fcce710..97fa5b4 100755 --- a/bin/4.6.x-dev/prepare_project_edition.sh +++ b/bin/4.6.x-dev/prepare_project_edition.sh @@ -89,7 +89,7 @@ if [[ "$PROJECT_EDITION" != "oss" ]]; then if [[ "$PROJECT_EDITION" == "$EDITION" ]]; then break fi - COMPOSER_JSON_CONTENT=$(curl -s "https://raw.githubusercontent.com/ibexa/$EDITION/master/composer.json") + COMPOSER_JSON_CONTENT=$(curl -s "https://raw.githubusercontent.com/ibexa/$EDITION/${PROJECT_VERSION%.x-dev}/composer.json") EDITION_PACKAGES=$(echo "$COMPOSER_JSON_CONTENT" | \ jq -r --arg projectEdition "ibexa/$PROJECT_EDITION" \ '.require | with_entries(select(.key | contains("ibexa/"))) | with_entries(select(.key == $projectEdition | not )) | keys') diff --git a/bin/5.0.x-dev/prepare_project_edition.sh b/bin/5.0.x-dev/prepare_project_edition.sh index db61faa..e1ff9e8 100755 --- a/bin/5.0.x-dev/prepare_project_edition.sh +++ b/bin/5.0.x-dev/prepare_project_edition.sh @@ -79,7 +79,7 @@ if [[ "$PROJECT_EDITION" != "oss" ]]; then if [[ "$PROJECT_EDITION" == "$EDITION" ]]; then break fi - COMPOSER_JSON_CONTENT=$(curl -s "https://raw.githubusercontent.com/ibexa/$EDITION/master/composer.json") + COMPOSER_JSON_CONTENT=$(curl -s "https://raw.githubusercontent.com/ibexa/$EDITION/${PROJECT_VERSION%.x-dev}/composer.json") EDITION_PACKAGES=$(echo "$COMPOSER_JSON_CONTENT" | \ jq -r --arg projectEdition "ibexa/$PROJECT_EDITION" \ '.require | with_entries(select(.key | contains("ibexa/"))) | with_entries(select(.key == $projectEdition | not )) | keys') diff --git a/bin/6.0.x-dev/prepare_project_edition.sh b/bin/6.0.x-dev/prepare_project_edition.sh index 9fbf260..ebdb6c1 100755 --- a/bin/6.0.x-dev/prepare_project_edition.sh +++ b/bin/6.0.x-dev/prepare_project_edition.sh @@ -79,7 +79,7 @@ if [[ "$PROJECT_EDITION" != "oss" ]]; then if [[ "$PROJECT_EDITION" == "$EDITION" ]]; then break fi - COMPOSER_JSON_CONTENT=$(curl -s "https://raw.githubusercontent.com/ibexa/$EDITION/master/composer.json") + COMPOSER_JSON_CONTENT=$(curl -s "https://raw.githubusercontent.com/ibexa/$EDITION/${PROJECT_VERSION%.x-dev}/composer.json") EDITION_PACKAGES=$(echo "$COMPOSER_JSON_CONTENT" | \ jq -r --arg projectEdition "ibexa/$PROJECT_EDITION" \ '.require | with_entries(select(.key | contains("ibexa/"))) | with_entries(select(.key == $projectEdition | not )) | keys')