Skip to content

Commit 43fb956

Browse files
committed
api_refs.sh: 5.0.0-rc1 test
1 parent 1a76fb3 commit 43fb956

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tools/api_refs/api_refs.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ DXP_EDITION='commerce'; # Edition from and for which the Reference is built
1010
DXP_VERSION='5.0.x-dev'; # 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
13-
SF_VERSION='7.2'; # Symfony version used by Ibexa DXP
13+
SF_VERSION='7.3'; # Symfony version used by Ibexa DXP
1414
PHPDOC_VERSION='3.8.0'; # Version of phpDocumentor used to build the Reference
1515
PHPDOC_CONF="$(pwd)/tools/api_refs/phpdoc.dist.xml"; # Absolute path to phpDocumentor configuration file
1616
#PHPDOC_CONF="$(pwd)/tools/api_refs/phpdoc.dev.xml"; # Absolute path to phpDocumentor configuration file
@@ -64,6 +64,11 @@ if [ 0 -eq $DXP_ALREADY_EXISTS ]; then
6464
fi;
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;
67+
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;
69+
if [ -n "$AUTH_JSON" ]; then
70+
cp $AUTH_JSON ./;
71+
fi;
6772
else
6873
composer create-project ibexa/$DXP_EDITION-skeleton:$DXP_VERSION . --no-interaction --no-install --ignore-platform-reqs --no-scripts;
6974
if [ -n "$AUTH_JSON" ]; then

0 commit comments

Comments
 (0)