From: Jakob Haufe Date: Thu, 29 Sep 2022 08:48:32 +0000 (+0200) Subject: Switch watchfile to Github API X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fe9d17324e88a65d4f28afccf21857c5a5e60649;p=minitube Switch watchfile to Github API --- diff --git a/debian/watch b/debian/watch index 606a2f1..445c43b 100644 --- a/debian/watch +++ b/debian/watch @@ -1,4 +1,5 @@ -version=3 +version=4 -#opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/minitube-$1\.tar\.gz/ -https://github.com/flaviotordini/minitube/releases .*/minitube-?(\d\S*)\.tar\.bz2 +opts="searchmode=plain" \ + https://api.github.com/repos/flaviotordini/@PACKAGE@/releases \ + https://github.com/flaviotordini/@PACKAGE@/releases/download/(?:\d[\d.]*)/@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@