]> git.sven.stormbind.net Git - sven/vym.git/commitdiff
update watch file to query github api
authorSven Hoexter <sven@stormbind.net>
Fri, 3 May 2024 19:50:11 +0000 (21:50 +0200)
committerSven Hoexter <sven@stormbind.net>
Fri, 3 May 2024 19:50:11 +0000 (21:50 +0200)
debian/changelog
debian/watch

index 6e9c38615bbbd0019e3c7e10f576708d2a32ec55..7e94d7eade65a7f2f6d7eb3e077b3544c47eddf3 100644 (file)
@@ -16,6 +16,7 @@ vym (2.9.22-1) UNRELEASED; urgency=medium
   * Add desktop.patch to pass %f in the Exec setting and add keywords.
   * Add doc-base registration for the user manual.
   * Add cmake-installs.patch to adjust documentation install folder.
+  * Adjust watch file to query github API and change to version 4.
 
  -- Sven Hoexter <hoexter@debian.org>  Fri, 03 May 2024 13:58:54 +0200
 
index 34f9f8fbb6267e180030e15d31dee94819722dfa..9c165b6c07112d1e6e5f1ad0ee5658bdcd820d00 100644 (file)
@@ -1,3 +1,5 @@
-version=3
-opts=uversionmangle=s/\.(tar.*|tgz|zip|gz|bz2)$//i,dversionmangle=s/[-.+~]?(cvs|svn|git|snapshot|pre|hg)(.*)$//i,pasv \
-http://sf.net/vym/vym-?_?([\d+\.]+|\d+)\.(tar.*|tgz|zip|gz|bz2|) debian uupdate
+version=4
+opts="searchmode=plain,\
+filenamemangle=s%v?@ANY_VERSION@%@PACKAGE@-$1.tar.gz%" \
+https://api.github.com/repos/insilmaril/vym/releases?per_page=50 \
+https://api.github.com/repos/[^/]+/[^/]+/tarball/v?@ANY_VERSION@
\ No newline at end of file