]> git.sur5r.net Git - tio/commitdiff
Switch watchfile to Github API
authorJakob Haufe <sur5r@debian.org>
Sun, 2 Oct 2022 20:10:18 +0000 (22:10 +0200)
committerJakob Haufe <sur5r@debian.org>
Sun, 2 Oct 2022 20:10:18 +0000 (22:10 +0200)
debian/watch

index 2476e86ba8d2d31a89c3736f4da2a373921120b4..1cef36f9503b757b8b123a7f11a702343c6aba39 100644 (file)
@@ -1,3 +1,5 @@
 version=4
 
-opts="pgpsigurlmangle=s%$%.asc%" https://github.com/tio/tio/releases/ download/v(?:.*)/tio-(.*).tar.xz
+opts="searchmode=plain,pgpsigurlmangle=s%$%.asc%" \
+ https://api.github.com/repos/tio/@PACKAGE@/releases \
+ https://github.com/tio/@PACKAGE@/releases/download/v(?:\d[\d.]*)/@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@