Skip to content

Commit

Permalink
Merge pull request #797 from infosiftr/rc-beta-alpha
Browse files Browse the repository at this point in the history
Adjust tagging to enforce explicit pre-release opt-in
  • Loading branch information
yosifkit authored Dec 17, 2020
2 parents 3884130 + dba8ec0 commit 3690694
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion generate-stackbrew-library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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]:-}
)

Expand Down

0 comments on commit 3690694

Please sign in to comment.