diff options
author | Erich Eckner <git@eckner.net> | 2016-05-24 13:12:14 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2016-05-24 13:12:14 +0200 |
commit | 4a455caa196b2fb4ab7f2a4a9791b6680d821049 (patch) | |
tree | aabe08133edd0a935b5650d6a0d2dc182e0a4772 | |
parent | 491f11142a3ac913e41e5832991e7d25d24a0fc9 (diff) | |
download | archlinuxewe.git.save-4a455caa196b2fb4ab7f2a4a9791b6680d821049.tar.xz |
checkVersions kann jetzt auch git-Repos
-rwxr-xr-x | checkVersions | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/checkVersions b/checkVersions index 87a3ac94..b849adad 100755 --- a/checkVersions +++ b/checkVersions @@ -102,6 +102,17 @@ then 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 qu="$( |