File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ PHP_API_OUTPUT_DIR=${2:-./docs/api/php_api/php_api_reference}; # Path to the dir
77REST_API_OUTPUT_FILE=${3:- ./ docs/ api/ rest_api/ rest_api_reference/ rest_api_reference.html} ; # Path to the REST API Reference file
88
99DXP_EDITION=' commerce' ; # Edition from and for which the Reference is built
10- DXP_VERSION=' 5.0.x-dev ' ; # Version from and for which the Reference is built
10+ DXP_VERSION=' 5.0.0-rc1 ' ; # Version from and for which the Reference is built
1111DXP_ADD_ONS=(automated-translation rector); # Packages not included in $DXP_EDITION but added to the Reference, listed without their vendor "ibexa"
1212DXP_EDITIONS=(oss headless experience commerce); # Available editions ordered by ascending capabilities
1313SF_VERSION=' 7.2' ; # Symfony version used by Ibexa DXP
@@ -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" * ]]
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
You can’t perform that action at this time.
0 commit comments