5 readonly CURL
='curl -s --compressed'
7 gn_revision_from_chrome_version
() {
8 $CURL "https://chromium.googlesource.com/chromium/src/+/$1/DEPS?format=TEXT" \
9 | base64
-d |
grep -Po "'gn_version': 'git_revision:\K[^']*"
13 echo channel version gn_revision
14 echo ------- ------- -----------
15 while read -r channel version
; do
16 echo "$channel $version $(gn_revision_from_chrome_version "$version")"
18 $CURL https
://omahaproxy.appspot.com
/json \
19 | jq
-r '.[] | select ( .os == "linux" ) | .versions | .[] | "\(.channel) \(.version)"'