From 7df248800070ab3598776964d4161c2b27226fb0 Mon Sep 17 00:00:00 2001 From: Sven Hoexter Date: Fri, 3 May 2024 21:50:11 +0200 Subject: [PATCH] update watch file to query github api --- debian/changelog | 1 + debian/watch | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) 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 -- 2.39.5