diff options
author | Erich Eckner <git@eckner.net> | 2017-09-03 17:28:24 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-09-03 17:28:24 +0200 |
commit | 5f491994ca8a57778d9bf3016536458c336cbbf4 (patch) | |
tree | 4becf209b914d3f22d0a55b15638bfd3e5022e49 /checkVersions | |
parent | 680f57bc4b39b4e11c3a71ae27b4bf21cc985b5e (diff) | |
download | archlinuxewe-5f491994ca8a57778d9bf3016536458c336cbbf4.tar.xz |
checkVersions: recognize upstream devtools version
Diffstat (limited to 'checkVersions')
-rwxr-xr-x | checkVersions | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/checkVersions b/checkVersions index e50c83a11..a97c4dd54 100755 --- a/checkVersions +++ b/checkVersions @@ -174,6 +174,23 @@ then sort -V | \ tail -n1 )" + elif [ "${pkgname}" == 'devtools32' ] + then + git -C /usr/src/archlinux/devtools fetch upstream + remVer="$( + ( + git -C /usr/src/archlinux/devtools archive --format=tar upstream/master | \ + tar -Ox Makefile | \ + grep -m1 '^V=[0-9.]\+$' | \ + cut -d= -f2 + curl_it 'https://github.com/archlinux32/devtools32/releases' | \ + tr '"' '\n' | \ + grep '^/archlinux32/devtools32/releases/tag/v[0-9.]\+$' | \ + sed 's@^/archlinux32/devtools32/releases/tag/v\([0-9.]\+\)$@\1@' + ) | \ + sort -V | \ + tail -n1 + )" elif echo "${src}" | \ grep -q '//download\.virtualbox\.org/' then |