summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/watch6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/watch b/debian/watch
index 2047310..95eb1c1 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,4 @@
version=4
-opts="compression=gzip,searchmode=plain" \
- https://api.github.com/repos/linux-nvme/nvme-stas/releases?per_page=100 \
- https://api.github.com/repos/linux-nvme/nvme-stas/tarball/v@ANY_VERSION@
+opts="pgpmode=auto, filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/nvme-stas-$1\.tar\.gz/, \
+ uversionmangle=s/(\d)\-?((pre|rc)\d*)$/$1~$2/" \
+https://github.com/linux-nvme/nvme-stas/tags .*/v?(\d\S+)\.tar\.gz