summaryrefslogtreecommitdiffstats
path: root/debian/watch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/watch')
-rw-r--r--debian/watch9
1 files changed, 7 insertions, 2 deletions
diff --git a/debian/watch b/debian/watch
index f17eba413..3379788f3 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,10 @@
version=4
-opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/ \
+opts="\
+searchmode=plain,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,\
+downloadurlmangle=s&>FRR\s*(\d\S+)\s+Release<&download/frr-$1/frr-$1.tar.xz&,\
+filenamemangle=s&>FRR\s*(\d\S+)\s+Release<&frr-$1.tar.xz&,\
+" \
https://github.com/FRRouting/frr/releases/ \
- .*/frr-(\d\S+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+ >FRR\s*(\d\S+)\s+Release<