Skip to content

Commit 7f0ec5c

Browse files
committed
api_refs.sh: 5.0.0-rc1 test
1 parent c0be681 commit 7f0ec5c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tools/api_refs/api_refs.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ PHP_API_OUTPUT_DIR=${2:-./docs/api/php_api/php_api_reference}; # Path to the dir
77
REST_API_OUTPUT_FILE=${3:-./docs/api/rest_api/rest_api_reference/rest_api_reference.html}; # Path to the REST API Reference file
88

99
DXP_EDITION='commerce'; # Edition from and for which the Reference is built
10-
DXP_VERSION='5.0.0-rc1'; # Version from and for which the Reference is built
10+
DXP_VERSION='v5.0.0-rc1'; # Version from and for which the Reference is built
1111
DXP_ADD_ONS=(automated-translation rector); # Packages not included in $DXP_EDITION but added to the Reference, listed without their vendor "ibexa"
1212
DXP_EDITIONS=(oss headless experience commerce); # Available editions ordered by ascending capabilities
1313
SF_VERSION='7.2'; # Symfony version used by Ibexa DXP
@@ -65,10 +65,12 @@ if [ 0 -eq $DXP_ALREADY_EXISTS ]; then
6565
composer config repositories.ibexa composer https://updates.ibexa.co;
6666
composer require ibexa/$DXP_EDITION:$DXP_VERSION --no-interaction --update-with-all-dependencies --no-install --ignore-platform-reqs --no-scripts;
6767
elif [[ "$DXP_VERSION" == *"-rc"* ]]; then
68-
composer create-project ibexa/$DXP_EDITION-skeleton:$DXP_VERSION . --no-interaction --no-install --ignore-platform-reqs --no-scripts --stability=rc;
68+
composer create-project ibexa/website-skeleton:$DXP_VERSION . --no-interaction --ignore-platform-reqs --no-scripts --stability=rc;
6969
if [ -n "$AUTH_JSON" ]; then
7070
cp $AUTH_JSON ./;
7171
fi;
72+
composer config repositories.ibexa composer https://updates.ibexa.co;
73+
composer require ibexa/$DXP_EDITION:$DXP_VERSION --no-interaction --update-with-all-dependencies --no-install --ignore-platform-reqs --no-scripts;
7274
else
7375
composer create-project ibexa/$DXP_EDITION-skeleton:$DXP_VERSION . --no-interaction --no-install --ignore-platform-reqs --no-scripts;
7476
if [ -n "$AUTH_JSON" ]; then

0 commit comments

Comments
 (0)