1
0
mirror of https://github.com/docker-library/postgres.git synced 2025-11-17 13:02:40 +03:00

Merge pull request #797 from infosiftr/rc-beta-alpha

Adjust tagging to enforce explicit pre-release opt-in
This commit is contained in:
yosifkit
2020-12-17 10:21:00 -08:00
committed by GitHub

View File

@@ -80,8 +80,14 @@ for version in "${versions[@]}"; do
versionAliases+=( $fullVersion )
fullVersion="${fullVersion%[.-]*}"
done
# skip unadorned "version" on prereleases: https://www.postgresql.org/developer/beta/
# - https://github.com/docker-library/postgres/issues/662
# - https://github.com/docker-library/postgres/issues/784
case "$pgdgVersion" in
*alpha* | *beta*| *rc*) ;;
*) versionAliases+=( $version ) ;;
esac
versionAliases+=(
$version
${aliases[$version]:-}
)