From 332b8dbdde471d3481253dcfe21dc2715dccd8a2 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sun, 1 Oct 2023 10:57:33 +0200 Subject: [PATCH] Let debian/watch use api.github.com. The GitHub release page is now JavaScript generated. --- debian/changelog | 8 ++++++++ debian/watch | 6 ++++-- 2 files changed, 12 insertions(+), 2 deletions(-) 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 -- 2.30.2