Skip to content

Commit 03799d5

Browse files
committed
Deal with GitHub API change
They've added a `commitsRefRoute` indirection to this API now. See also docker-library/golang#586
1 parent 3289af8 commit 03799d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

versions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ _curl() {
4040

4141
dindLatest="$(
4242
_curl -H 'Accept: application/json' 'https://github.com/docker/docker/commits/master/hack/dind.atom' \
43-
| jq -r '.payload | first(.commitGroups[].commits[].oid)'
43+
| jq -r '.payload | first(.. | .commits?[]?.oid)'
4444
)"
4545

4646
dockerVersions="$(

0 commit comments

Comments
 (0)