summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYadd <yadd@debian.org>2021-04-14 18:08:22 +0200
committerYadd <yadd@debian.org>2021-04-14 18:08:22 +0200
commit4ac1e590cf17b0db190c39ea8865298bc8217258 (patch)
tree6537afaeafb7df6901430c220c9a60af22e3ea38
parentab43c89c32f6248308ae8e1b97e5693af6340799 (diff)
Modernize debian/watch
-rw-r--r--debian/watch4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/watch b/debian/watch
index 0990af5..e9bba74 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,5 @@
-version=3
+version=4
opts=\
-dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
+dversionmangle=auto,\
filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-d3-polygon-$1.tar.gz/ \
https://github.com/d3/d3-polygon/tags .*/archive/v?([\d\.]+).tar.gz