diff --git a/debian/changelog b/debian/changelog index 7bc2962..75af76a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ lxqt-archiver (0.7.0-0ubuntu1) UNRELEASED; urgency=medium * New upstream version. + * Fix the watch file, for real this time. -- Simon Quigley Thu, 17 Nov 2022 22:03:33 -0600 diff --git a/debian/watch b/debian/watch index fc7d141..a544020 100644 --- a/debian/watch +++ b/debian/watch @@ -1,3 +1,5 @@ version=4 -opts="pgpsigurlmangle=s/$/.asc/" \ -https://github.com/lxqt/lxqt-archiver/releases .*/lxqt-archiver-([\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