2
0
Fork 0
mirror of https://github.com/friendica/docker synced 2025-01-15 15:07:21 +01:00

Merge pull request #263 from ne20002/issue-262

Retrieve correct version of memcached
This commit is contained in:
Philipp Holzer 2024-08-29 21:01:53 +02:00 committed by GitHub
commit a161376c04
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,8 +50,9 @@ apcu_version="$(
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]//' \
| grep -viE '[a-z]' \
| tr -d '^{}' \
| sort -V \
| tail -1
)"