diff options
author | J0WI <J0WI@users.noreply.github.com> | 2018-11-21 22:34:02 +0100 |
---|---|---|
committer | J0WI <J0WI@users.noreply.github.com> | 2019-03-13 23:56:39 +0100 |
commit | a1ed54243dbcf7e9b7ebdb77fc325a9d8ebdb3a5 (patch) | |
tree | ac8759140e112278621dd71774230d6f610b49b6 /update.sh | |
parent | cbe0ad1ad2e96912bd220426757d0159ec727b26 (diff) |
Update pecl extensions in update.sh16.0.0alpha1-fpm-alpine16.0.0alpha1-fpm16.0.0alpha1-apache16.0.0alpha116.0.0-alpha-fpm-alpine16.0.0-alpha-fpm16.0.0-alpha-apache16.0.0-alpha16.0-alpha-fpm-alpine16.0-alpha-fpm16.0-alpha-apache16.0-alpha16-alpha-fpm-alpine16-alpha-fpm16-alpha-apache16-alpha15.0.5-fpm-alpine15.0.5-fpm15.0.5-apache15.0.514.0.8-fpm-alpine14.0.8-fpm14.0.8-apache14.0.813.0.12-fpm-alpine13.0.12-fpm13.0.12-apache13.0.1213.0-fpm-alpine13.0-fpm13.0-apache13.013-fpm-alpine13-fpm13-apache13
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 44 |
1 files changed, 40 insertions, 4 deletions
@@ -25,11 +25,47 @@ declare -A extras=( [fpm-alpine]='' ) +apcu_version="$( + git ls-remote --tags https://github.com/krakjoe/apcu.git \ + | cut -d/ -f3 \ + | grep -vE -- '-rc|-b' \ + | sed -E 's/^v//' \ + | sort -V \ + | tail -1 +)" + +memcached_version="$( + git ls-remote --tags https://github.com/php-memcached-dev/php-memcached.git \ + | cut -d/ -f3 \ + | grep -vE -- '-rc|-b' \ + | sed -E 's/^[rv]//' \ + | sort -V \ + | tail -1 +)" + +redis_version="$( + git ls-remote --tags https://github.com/phpredis/phpredis.git \ + | cut -d/ -f3 \ + | grep -viE '[a-z]' \ + | tr -d '^{}' \ + | sort -V \ + | tail -1 +)" + +imagick_version="$( + git ls-remote --tags https://github.com/mkoppanen/imagick.git \ + | cut -d/ -f3 \ + | grep -viE '[a-z]' \ + | tr -d '^{}' \ + | sort -V \ + | tail -1 +)" + declare -A pecl_versions=( - [APCu]='5.1.17' - [memcached]='3.1.3' - [redis]='4.2.0' - [imagick]='3.4.3' + [APCu]="$apcu_version" + [memcached]="$memcached_version" + [redis]="$redis_version" + [imagick]="$imagick_version" ) variants=( |