summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2018-11-08 18:34:06 +0000
committerMark Hindley <mark@hindley.org.uk>2018-11-09 10:47:46 +0000
commit3d472f1c6370226b878b8d1ff909773712bd3cbd (patch)
treeb762b3025677c17161f309a351df9d1c186d8a23
parentebe2a26256e14e071ca5263e64f8021ba6276e70 (diff)
debian/watch: Strip +nosubmodule from version
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rw-r--r--debian/watch1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/watch b/debian/watch
index fda9f7dad..158e3faed 100644
--- a/debian/watch
+++ b/debian/watch
@@ -7,4 +7,5 @@ version=3
# URLs use only the version as the name, it is recommended to use a
# filenamemangle to adjust the name of the downloaded file:
opts="filenamemangle=s/(?:.*)?v?(\d[\d\.]*)\.tar\.gz/elogind-$1.tar.gz/" \
+ "dversionmangle=s/\+nosubmodule//" \
https://github.com/elogind/elogind/tags (?:.*/)?v?(\d[\d\.]*)\.tar\.gz