summaryrefslogtreecommitdiffstats
path: root/debian/watch
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2020-08-06 09:01:19 +0200
committerOndřej Surý <ondrej@sury.org>2020-09-26 09:22:43 +0200
commita32cd91a258a5b543deb3ab8968307d09c412760 (patch)
tree32334b4dc15aac4174a364419387634934fd2862 /debian/watch
parentMake lsb-base a hard dependency (diff)
downloadfrr-a32cd91a258a5b543deb3ab8968307d09c412760.tar.xz
frr-a32cd91a258a5b543deb3ab8968307d09c412760.zip
Update and simplify d/watch
Diffstat (limited to 'debian/watch')
-rw-r--r--debian/watch3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/watch b/debian/watch
index c286392d7..f17eba413 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,5 @@
version=4
+opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/ \
https://github.com/FRRouting/frr/releases/ \
- download/frr-(?:\d[\d.]*)/frr-(\d[\d.]*)\.tar\.xz debian uupdate
+ .*/frr-(\d\S+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))