annotate vendor/psy/psysh/bin/build-vendor-compat @ 13:5fb285c0d0e3

Update Drupal core to 8.4.7 via Composer. Security update; I *think* we've been lucky to get away with this so far, as we don't support self-registration which seems to be used by the so-called "drupalgeddon 2" attack that 8.4.5 was vulnerable to.
author Chris Cannam
date Mon, 23 Apr 2018 09:33:26 +0100
parents 4c8ae668cc8c
children
rev   line source
Chris@0 1 #!/usr/bin/env bash
Chris@0 2
Chris@0 3 set -e
Chris@0 4
Chris@0 5 cd "${BASH_SOURCE%/*}/.."
Chris@0 6
Chris@0 7 rm -rf build-vendor
Chris@13 8 rm -f composer-*.lock
Chris@0 9
Chris@0 10 cp composer.json composer-compat.json
Chris@0 11
Chris@13 12 if [[ $(php --version) = PHP\ 5.4* ]]; then
Chris@13 13 HOA_VERSION=^2.15
Chris@0 14 fi
Chris@0 15
Chris@0 16 COMPOSER=composer-compat.json COMPOSER_VENDOR_DIR=build-vendor \
Chris@0 17 composer require symfony/intl hoa/console $HOA_VERSION --no-progress --no-update --no-interaction --verbose
Chris@0 18
Chris@0 19 COMPOSER=composer-compat.json COMPOSER_VENDOR_DIR=build-vendor \
Chris@0 20 composer update --prefer-stable --no-dev --no-progress --classmap-authoritative --no-interaction --verbose
Chris@0 21