From: Sven Hoexter Date: Fri, 3 May 2024 19:50:11 +0000 (+0200) Subject: update watch file to query github api X-Git-Tag: debian/2.9.27-1~14 X-Git-Url: https://git.sven.stormbind.net/?a=commitdiff_plain;h=7df248800070ab3598776964d4161c2b27226fb0;p=sven%2Fvym.git update watch file to query github api --- diff --git a/debian/changelog b/debian/changelog index 6e9c386..7e94d7e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Fri, 03 May 2024 13:58:54 +0200 diff --git a/debian/watch b/debian/watch index 34f9f8f..9c165b6 100644 --- a/debian/watch +++ b/debian/watch @@ -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