Build system: Allow pre-release dependencies when creating pre-releases
This commit is contained in:
parent
feba0b32df
commit
6dd6da655f
|
@ -31,6 +31,13 @@ composer require --no-update \
|
||||||
"picocms/pico-deprecated $VERSION_FULL@$VERSION_STABILITY"
|
"picocms/pico-deprecated $VERSION_FULL@$VERSION_STABILITY"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
# set minimum stability
|
||||||
|
if [ "$VERSION_STABILITY" != "stable" ]; then
|
||||||
|
echo "Setting minimum stability to '$VERSION_STABILITY'..."
|
||||||
|
composer config "minimum-stability" "$VERSION_STABILITY"
|
||||||
|
composer config "prefer-stable" "true"
|
||||||
|
fi
|
||||||
|
|
||||||
# install dependencies
|
# install dependencies
|
||||||
echo "Running \`composer install\`..."
|
echo "Running \`composer install\`..."
|
||||||
composer install --no-suggest --prefer-dist --no-dev --optimize-autoloader
|
composer install --no-suggest --prefer-dist --no-dev --optimize-autoloader
|
||||||
|
|
Loading…
Reference in a new issue