From 636e8d2a8a14630400dc433ac915ed99fcc691fa Mon Sep 17 00:00:00 2001 From: Daniel Rudolf Date: Mon, 25 Nov 2019 00:43:53 +0100 Subject: [PATCH] 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... --- .build/release.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.build/release.sh b/.build/release.sh index 9623b3f..7a2cc1d 100755 --- a/.build/release.sh +++ b/.build/release.sh @@ -50,6 +50,11 @@ composer require --no-update \ "picocms/pico-deprecated $DEPENDENCY_VERSION" 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 if [ "$VERSION_STABILITY" != "stable" ]; then echo "Setting minimum stability to '$VERSION_STABILITY'..."