Code

Let debian/watch use api.github.com.
authorSebastian Harl <tokkee@debian.org>
Sun, 1 Oct 2023 08:57:33 +0000 (10:57 +0200)
committerSebastian Harl <tokkee@debian.org>
Sun, 1 Oct 2023 09:01:13 +0000 (11:01 +0200)
The GitHub release page is now JavaScript generated.

debian/changelog
debian/watch

index 9555ab749f67716936ba367d31b008b180bfa367..cd431c1a45f70c192986cd0042dbed45a8e9d5ca 100644 (file)
@@ -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 <tokkee@debian.org>  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
index 048c5c9aef8f66f7c37a14ac5e7a4f38612a1a6c..e93dcd4f8b423a9582b25b6bfb05f0bd6ca02ca8 100644 (file)
@@ -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