Skip to content

Commit a9c27dc

Browse files
committed
Add aliases to "devel" like "devel-20190705" (based on Chet's commit message)
1 parent 3682e16 commit a9c27dc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

generate-stackbrew-library.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ for version in "${versions[@]}"; do
7575
parent="$(awk 'toupper($1) == "FROM" { print $2 }' "$version/Dockerfile")"
7676
arches="${parentRepoToArches[$parent]}"
7777

78-
fullVersion="$(git show "$commit":"$version/Dockerfile" | awk '
78+
fullVersion="$(git show "$commit":"$version/Dockerfile" | awk -v version="$version" '
79+
$1 == "ENV" && $2 == "_BASH_COMMIT_DESC" && $4 ~ /^bash-[0-9]+$/ && $5 == "snapshot" { gsub(/^bash-/, "", $4); print version "-" $4; exit }
80+
7981
$1 == "ENV" && $2 == "_BASH_VERSION" {
8082
bashVersion = $3
8183
}

0 commit comments

Comments
 (0)