diff options
-rw-r--r-- | debian/watch | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/debian/watch b/debian/watch index 61302d1..d8c77f6 100644 --- a/debian/watch +++ b/debian/watch @@ -1,3 +1,4 @@ version=4 -opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/deluge-$1\.tar\.gz/ \ -https://github.com/deluge-torrent/deluge/tags .*/v?(\d\S+)\.tar\.gz +opts="filenamemangle=s/.+\/deluge-?(\d\S+)\.tar\.gz/deluge-$1\.tar\.gz/, \ + uversionmangle=s/(\d)\.?((dev|rc)\d*)$/$1~$2/" \ +https://github.com/deluge-torrent/deluge/tags .*/deluge-?(\d\S+)\.tar\.gz |