summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Röhling <roehling@debian.org>2023-01-02 21:12:38 +0100
committerTimo Röhling <roehling@debian.org>2023-01-02 21:12:38 +0100
commitb5500815a822d06f249304f6ca25f0f45c3ef62b (patch)
treed0652109017eec12aff0d9c08603d993347ae162
parent26c53323d6644168755dcb16a8dba9b5bde09eb9 (diff)
Use mode=git for d/watch
-rw-r--r--debian/watch7
1 files changed, 3 insertions, 4 deletions
diff --git a/debian/watch b/debian/watch
index 542f1c8..3ec8ecc 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,4 @@
version=4
-opts=searchmode=plain,filenamemangle=s%(?:.*?/)?v?@ANY_VERSION@%@PACKAGE@-$1.tar.gz%,\
- uversionmangle=s%-?(a|b|rc)%~$1% \
- https://api.github.com/repos/Gallopsled/pwntools/tags \
- tarball/(?:[^"]*?/)?v?@ANY_VERSION@
+opts=mode=git,uversionmangle=s/-?(a|b|r?c)/~$1/ \
+ https://github.com/Gallopsled/pwntools refs/tags/(\d[\d.]+)
+