aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/watch6
1 files changed, 4 insertions, 2 deletions
diff --git a/debian/watch b/debian/watch
index 5d37a694..f9055f16 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,4 @@
-version=4
- https://github.com/linux-pam/linux-pam/releases .*/\S+-([\d.]+)\.tar\.xz
+ version=4
+ opts=searchmode=plain \
+ https://api.github.com/repos/linux-pam/linux-pam/releases \
+ https://github.com/linux-pam/linux-pam/releases/download/v?[\d.]+/Linux-PAM-([\d.]+)@ARCHIVE_EXT@