mirror of
https://github.com/phpmyadmin/docker.git
synced 2026-08-24 02:24:16 -05:00
Update generate-stackbrew-library.sh to understand the new ENV separator
Ref: 24c2f1f855
This commit is contained in:
@@ -67,7 +67,7 @@ latest="$(curl -fsSL 'https://www.phpmyadmin.net/home_page/version.json' | jq -r
|
||||
|
||||
for variant in apache fpm fpm-alpine; do
|
||||
commit="$(dirCommit "$variant")"
|
||||
fullversion="$(git show "$commit":"$variant/Dockerfile" | awk '$1 == "ENV" && $2 == "VERSION" { print $3; exit }')"
|
||||
fullversion="$(git show "$commit":"$variant/Dockerfile" | awk -F" |=" '$1 == "ENV" && $2 == "VERSION" { print $3; exit }')"
|
||||
|
||||
versionAliases=( "$fullversion" "${fullversion%.*}" "${fullversion%.*.*}" )
|
||||
if [ "$fullversion" = "$latest" ]; then
|
||||
|
||||
Reference in New Issue
Block a user