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 3d4a030..ac75c56 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
-version=3
-opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
-https://pypi.debian.net/mycli/mycli-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+version=4
+opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/mycli-$1\.tar\.gz/ \
+https://github.com/dbcli/mycli/releases .*/v?(\d\S+)\.tar\.gz