We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d227bf4 commit 59157a2Copy full SHA for 59157a2
versions.sh
@@ -24,7 +24,8 @@ fi
24
versions=( "${versions[@]%/}" )
25
26
# "tac|tac" for http://stackoverflow.com/a/28879552/433558
27
-dindLatest="$(curl -fsSL 'https://github.com/docker/docker/commits/master/hack/dind.atom' | tac|tac | awk -F '[[:space:]]*[<>/]+' '$2 == "id" && $3 ~ /Commit/ { print $4; exit }')"
+dindLatest="$(curl -fsSL 'https://github.com/docker/docker/commits/master/hack/dind.atom' | grep -E 'id.*Commit')"
28
+dindLatest="$(awk <<<"$dindLatest" -F '[[:space:]]*[<>/]+' '$2 == "id" && $3 ~ /Commit/ { print $4; exit }')"
29
30
dockerVersions="$(
31
git ls-remote --tags https://github.com/docker/docker.git \
0 commit comments