summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-07-14 18:30:19 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-07-16 15:03:45 +0000
commit8ccb64eb9eda61bf3758bed6b7567d67f94e3970 (patch)
tree8af8831243bb2bbdbb0ffce970db8145305a1221
parentRemoving trailing whitespace in changelog. (diff)
downloadnvme-cli-8ccb64eb9eda61bf3758bed6b7567d67f94e3970.tar.xz
nvme-cli-8ccb64eb9eda61bf3758bed6b7567d67f94e3970.zip
Adding version mangling in watch file.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/watch3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/watch b/debian/watch
index 91ff11d..3b2bede 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,4 @@
version=4
-opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/nvme-cli-$1\.tar\.gz/ \
+opts="pgpmode=auto, filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/nvme-cli-$1\.tar\.gz/, \
+ uversionmangle=s/(\d)\-?((pre|rc)\d*)$/$1~$2/" \
https://github.com/linux-nvme/nvme-cli/tags .*/v?(\d\S+)\.tar\.gz