You've already forked postgres
mirror of
https://github.com/docker-library/postgres.git
synced 2025-07-28 10:42:06 +03:00
Fix minor "git log" usage issue
This commit is contained in:
@ -16,7 +16,7 @@ url='git://github.com/docker-library/postgres'
|
|||||||
echo '# maintainer: InfoSiftr <github@infosiftr.com> (@infosiftr)'
|
echo '# maintainer: InfoSiftr <github@infosiftr.com> (@infosiftr)'
|
||||||
|
|
||||||
for version in "${versions[@]}"; do
|
for version in "${versions[@]}"; do
|
||||||
commit="$(git log -1 --format='format:%H' "$version")"
|
commit="$(git log -1 --format='format:%H' -- "$version")"
|
||||||
fullVersion="$(grep -m1 'ENV PG_VERSION ' "$version/Dockerfile" | cut -d' ' -f3 | cut -d- -f1 | sed 's/~/-/g')"
|
fullVersion="$(grep -m1 'ENV PG_VERSION ' "$version/Dockerfile" | cut -d' ' -f3 | cut -d- -f1 | sed 's/~/-/g')"
|
||||||
versionAliases=( $fullVersion $version ${aliases[$version]} )
|
versionAliases=( $fullVersion $version ${aliases[$version]} )
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user