Travis CI: Force Composer minimum stability <= beta

Unfortunately we must force Composer minimum stability <= beta due to Parsedown 1.8 currently being in beta. Composer AFAIK can't decide this on a per-dependency basis...
pico-3.0-alpha
Daniel Rudolf 6 years ago
parent a5ff37e380
commit 636e8d2a8a
No known key found for this signature in database
GPG Key ID: A061F02CD8DE4538
  1. 5
      .build/release.sh

@ -50,6 +50,11 @@ composer require --no-update \
"picocms/pico-deprecated $DEPENDENCY_VERSION" "picocms/pico-deprecated $DEPENDENCY_VERSION"
echo echo
# force minimum stability <= beta due to Parsedown 1.8 currently being in beta
if [ "$VERSION_STABILITY" == "stable" ] || [ "$VERSION_STABILITY" == "rc" ]; then
VERSION_STABILITY="beta"
fi
# set minimum stability # set minimum stability
if [ "$VERSION_STABILITY" != "stable" ]; then if [ "$VERSION_STABILITY" != "stable" ]; then
echo "Setting minimum stability to '$VERSION_STABILITY'..." echo "Setting minimum stability to '$VERSION_STABILITY'..."

Loading…
Cancel
Save