[neon/neon-packaging/hotspot/Neon/unstable] debian: Update watch to use github api like cockpit-project does

Carlos De Maine null at kde.org
Fri Jan 13 00:15:37 GMT 2023


Git commit 4aadbc22b280359010b7a9fa8c0eb8840dad090e by Carlos De Maine.
Committed on 13/01/2023 at 00:15.
Pushed by carlosdem into branch 'Neon/unstable'.

Update watch to use github api like cockpit-project does

M  +4    -3    debian/watch

https://invent.kde.org/neon/neon-packaging/hotspot/commit/4aadbc22b280359010b7a9fa8c0eb8840dad090e

diff --git a/debian/watch b/debian/watch
index a39f785..a9e50a5 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,5 @@
 version=4
-opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%hotspot-$1.tar.gz%" \
-   https://github.com/KDAB/hotspot/releases/tag \
-   (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate
+opts="searchmode=plain, \
+filenamemangle==s/.+\/@PACKAGE at -v@ANY_VERSION at .tar.gz/@PACKAGE at -$1\.tar\.gz/" \
+https://api.github.com/repos/KDAB/hotspot/releases \
+https://github.com/KDAB/hotspot/releases/download/v\d[\.\d]*/@PACKAGE at -v@ANY_VERSION at .tar.gz


More information about the Neon-commits mailing list