From fe9d17324e88a65d4f28afccf21857c5a5e60649 Mon Sep 17 00:00:00 2001 From: Jakob Haufe Date: Thu, 29 Sep 2022 10:48:32 +0200 Subject: [PATCH] Switch watchfile to Github API --- debian/watch | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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@ -- 2.39.5