comparison vendor/psy/psysh/bin/package @ 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
comparison
equal deleted inserted replaced
12:7a779792577d 13:5fb285c0d0e3
7 USAGE="usage: bin/package [-v PACKAGE_VERSION]" 7 USAGE="usage: bin/package [-v PACKAGE_VERSION]"
8 8
9 while getopts ":v:h" opt; do 9 while getopts ":v:h" opt; do
10 case $opt in 10 case $opt in
11 v) 11 v)
12 PKG_VERSION=$OPTARG 12 PKG_VERSION="v${OPTARG#v}"
13 ;; 13 ;;
14 h) 14 h)
15 echo $USAGE >&2 15 echo $USAGE >&2
16 exit 16 exit
17 ;; 17 ;;
30 30
31 if [ -z "$PKG_VERSION" ]; then 31 if [ -z "$PKG_VERSION" ]; then
32 PKG_VERSION=$(git describe --tag --exact-match) 32 PKG_VERSION=$(git describe --tag --exact-match)
33 fi 33 fi
34 34
35 if [[ $(php --version) = PHP\ 5.3* ]]; then 35 if [[ $(php --version) = PHP\ 5.4* ]]; then
36 PKG_VERSION=${PKG_VERSION}-php53 36 PKG_VERSION=${PKG_VERSION}-php54
37 fi 37 fi
38 38
39 echo "Packaging $PKG_VERSION" 39 echo "Packaging $PKG_VERSION"
40 40
41 mkdir -p dist || exit 1 41 mkdir -p dist || exit 1