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
7
7
REST_API_OUTPUT_FILE=${3:- ./ docs/ api/ rest_api/ rest_api_reference/ rest_api_reference.html} ; # Path to the REST API Reference file
8
8
9
9
DXP_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
11
11
DXP_ADD_ONS=(automated-translation rector); # Packages not included in $DXP_EDITION but added to the Reference, listed without their vendor "ibexa"
12
12
DXP_EDITIONS=(oss headless experience commerce); # Available editions ordered by ascending capabilities
13
13
SF_VERSION=' 7.2' ; # Symfony version used by Ibexa DXP
@@ -64,6 +64,11 @@ if [ 0 -eq $DXP_ALREADY_EXISTS ]; then
64
64
fi ;
65
65
composer config repositories.ibexa composer https://updates.ibexa.co;
66
66
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 ;
67
72
else
68
73
composer create-project ibexa/$DXP_EDITION -skeleton:$DXP_VERSION . --no-interaction --no-install --ignore-platform-reqs --no-scripts;
69
74
if [ -n " $AUTH_JSON " ]; then
You can’t perform that action at this time.
0 commit comments