From: Sebastian Harl Date: Sun, 1 Oct 2023 08:57:33 +0000 (+0200) Subject: Let debian/watch use api.github.com. X-Git-Tag: tig-2.5.8-1~3 X-Git-Url: https://git.tokkee.org/?p=pkg-tig.git;a=commitdiff_plain;h=332b8dbdde471d3481253dcfe21dc2715dccd8a2 Let debian/watch use api.github.com. The GitHub release page is now JavaScript generated. --- diff --git a/debian/changelog b/debian/changelog index 9555ab7..cd431c1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +tig (2.5.5-2) UNRELEASED; urgency=medium + + * debian/watch: + - Use api.github.com to make sure it works with the new, JavaScript + created release page. + + -- Sebastian Harl Sun, 01 Oct 2023 10:56:23 +0200 + tig (2.5.5-1) unstable; urgency=medium * New upstream release; thanks to Elimar Riesebieter for reporting this diff --git a/debian/watch b/debian/watch index 048c5c9..e93dcd4 100644 --- a/debian/watch +++ b/debian/watch @@ -1,2 +1,4 @@ -version=3 -https://github.com/jonas/tig/releases .*/download/tig-.*/tig-(\d\S+)\.tar\.gz +version=4 +opts="searchmode=plain" \ +https://api.github.com/repos/jonas/tig/releases?per_page=50 \ +https://github.com/jonas/tig/releases/download/tig-[^/]*/tig-@ANY_VERSION@\.tar\.gz