From 9845ab5a2a1697e9fa67e028ad14ea8eda791a2e Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Thu, 17 Nov 2022 17:45:32 -0600 Subject: [PATCH] Fix the watch file, for real this time. --- debian/changelog | 1 + debian/watch | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 76baf88..f66de6c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ lxqt-about (1.2.0-0ubuntu1) UNRELEASED; urgency=medium * New upstream release. + * Fix the watch file, for real this time. -- Simon Quigley Thu, 17 Nov 2022 17:41:29 -0600 diff --git a/debian/watch b/debian/watch index c3ce70e..a544020 100644 --- a/debian/watch +++ b/debian/watch @@ -1,3 +1,5 @@ version=4 -opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/lxqt-about-$1\.tar\.gz/,pgpsigurlmangle=s/$/.asc/ \ - https://github.com/lxqt/lxqt-about/tags .*/v?(\d\S*)\.tar\.gz +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