summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/watch3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/watch b/debian/watch
index dc7c851..917349a 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
version=4
-https://github.com/CourtBouillon/pydyf/tags .*/archive/refs/tags/@ANY_VERSION@@ARCHIVE_EXT@
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/pydyf-$1\.tar\.gz/ \
+https://github.com/CourtBouillon/pydyf/tags .*/v?(\d\S+)\.tar\.gz