diff --git a/debian/watch b/debian/watch
index 048c5c9aef8f66f7c37a14ac5e7a4f38612a1a6c..e93dcd4f8b423a9582b25b6bfb05f0bd6ca02ca8 100644 (file)
--- a/debian/watch
+++ b/debian/watch
-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