diff --git a/debian/changelog b/debian/changelog index 9a3b6e0..30d86c3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ libsysstat (0.4.6-0ubuntu1) UNRELEASED; urgency=medium * New upstream release 0.4.6. + * Overhauled watch file to make it compatible with GitHub again. -- Aaron Rainbolt Mon, 28 Nov 2022 15:46:29 -0600 diff --git a/debian/watch b/debian/watch index 47aaf49..a544020 100644 --- a/debian/watch +++ b/debian/watch @@ -1,3 +1,5 @@ version=4 -opts="pgpsigurlmangle=s/$/.asc/" \ - https://github.com/lxqt/libsysstat/releases .*/libsysstat-([\d\.]+).tar.xz +opts="searchmode=plain, \ +pgpsigurlmangle=s/$/.asc/, \ +uversionmangle=s/(\d+\.\d+\.\d+).*/$1/" \ + https://api.github.com/repos/lxqt/@PACKAGE@/releases https:\/\/github.com\/lxqt\/@PACKAGE@\/releases\/download\/@ANY_VERSION@\/@PACKAGE@-@ANY_VERSION@.tar.xz