Skip to content

Commit dba8ec0

Browse files
committed
Adjust tagging to enforce explicit pre-release opt-in
I rewound to commit 09c342c to test this and verify that `postgres:13` would go away (and only `postgres:13-rc1` would remain).
1 parent 3884130 commit dba8ec0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

generate-stackbrew-library.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,14 @@ for version in "${versions[@]}"; do
8080
versionAliases+=( $fullVersion )
8181
fullVersion="${fullVersion%[.-]*}"
8282
done
83+
# skip unadorned "version" on prereleases: https://www.postgresql.org/developer/beta/
84+
# - https://github.com/docker-library/postgres/issues/662
85+
# - https://github.com/docker-library/postgres/issues/784
86+
case "$pgdgVersion" in
87+
*alpha* | *beta*| *rc*) ;;
88+
*) versionAliases+=( $version ) ;;
89+
esac
8390
versionAliases+=(
84-
$version
8591
${aliases[$version]:-}
8692
)
8793

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy