From 7737432b7e594ff3f89ec14a28be100da226835e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 18 Feb 2019 09:26:07 +0100 Subject: checkVersions: recognize asp32 --- checkVersions | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'checkVersions') diff --git a/checkVersions b/checkVersions index d18ebfc6..e7a47098 100755 --- a/checkVersions +++ b/checkVersions @@ -395,17 +395,20 @@ then tail -n1 )" elif echo "${src}" | \ - grep -q '^git://anonscm\.debian\.org/\|^git\(+https\?\)\?://github\.com/.*#tag=' + grep -q '^git://anonscm\.debian\.org/\|^git\(+https\?\)\?://git\(hub\.com\|\.archlinux32\.org\)/.*#tag=' then src="${src#git+}" - remVer="$( + remVer=$( git ls-remote --tags "${src%#*}" | \ awk '{print $2}' | \ - grep '^refs/tags/v[0-9.]\+$' | \ - sed 's|^refs/tags/v\([0-9.]\+\)$|\1|' | \ + sed ' + s|^refs/tags/v\?\([0-9.]\+\)$|\1| + t + d + ' | \ sort -V | \ tail -n1 - )" + ) elif echo "${src}" | \ grep -q '^git\(+[^:]\+\)\?://[^#]\+\(#commit=[^#]\+\)\?$' then -- cgit v1.2.3-70-g09d2