summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schauer Marin Rodrigues <josch@mister-muffin.de>2021-11-07 23:15:33 +0100
committerJohannes Schauer Marin Rodrigues <josch@mister-muffin.de>2021-11-07 23:15:33 +0100
commitb57263e16003ccef36dcd17bdce1b3594bc6ab5a (patch)
treefbf12ce7663916b73188cd9aa2523c500f3d8118
parent9d4280b91c9d3cc0cdcd3fc77e44d9cb35925618 (diff)
debian/watch: normalize
-rw-r--r--debian/watch7
1 files changed, 4 insertions, 3 deletions
diff --git a/debian/watch b/debian/watch
index 6fd2e31..5d64b8a 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,5 @@
version=4
-opts=filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-carto-$1.tar.gz/ \
-https://github.com/mapbox/carto/tags .*/v?([\d\.]+).tar.gz
-
+opts=\
+dversionmangle=auto,\
+filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-carto-$1.tar.gz/ \
+ https://github.com/mapbox/carto/releases .*/archive.*/v?([\d\.]+).tar.gz