PKGBUILDs/extra/gn/chromium-gn-version.sh
2019-07-19 12:34:54 +00:00

8 lines
261 B
Bash

#!/bin/bash
set -eo pipefail
chromium_version=$(curl -s https://omahaproxy.appspot.com/linux)
curl -s https://chromium.googlesource.com/chromium/src/+/refs/tags/$chromium_version/DEPS?format=TEXT |
base64 -d | grep -Po "'gn_version': 'git_revision:\K[^']*"