Code

Let debian/watch use api.github.com.
[pkg-tig.git] / debian / watch
index 048c5c9aef8f66f7c37a14ac5e7a4f38612a1a6c..e93dcd4f8b423a9582b25b6bfb05f0bd6ca02ca8 100644 (file)
@@ -1,2 +1,4 @@
-version=3
-https://github.com/jonas/tig/releases .*/download/tig-.*/tig-(\d\S+)\.tar\.gz
+version=4
+opts="searchmode=plain" \
+https://api.github.com/repos/jonas/tig/releases?per_page=50 \
+https://github.com/jonas/tig/releases/download/tig-[^/]*/tig-@ANY_VERSION@\.tar\.gz