From 4a455caa196b2fb4ab7f2a4a9791b6680d821049 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 24 May 2016 13:12:14 +0200 Subject: checkVersions kann jetzt auch git-Repos --- checkVersions | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'checkVersions') diff --git a/checkVersions b/checkVersions index 87a3ac94..b849adad 100755 --- a/checkVersions +++ b/checkVersions @@ -101,6 +101,17 @@ then sort -V | \ tail -n1 )" + elif echo "${src}" | \ + grep -q 'git://anonscm\.debian\.org/' + then + remVer="$( + git ls-remote --tags "${src%#*}" | \ + awk '{print $2}' | \ + grep '^refs/tags/v[0-9.]\+$' | \ + sed 's|^refs/tags/v\([0-9.]\+\)$|\1|' | \ + sort -V | \ + tail -n1 + )" elif echo "${src}" | \ grep -q "^https://pypi\.python\.org/packages/" then -- cgit v1.2.3-70-g09d2