From afef7adbba7b3c67c74c5a4aa2e94fe133367828 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastien=20Roucari=C3=A8s?= Date: Mon, 15 Apr 2024 08:33:18 +0000 Subject: [PATCH] Fix d/watch --- debian/watch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/watch b/debian/watch index b7a4f85..6a8f478 100644 --- a/debian/watch +++ b/debian/watch @@ -1,5 +1,5 @@ # Compulsory line, this is a version 4 file version=4 - -opts="repack,compression=xz,filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/shim-$1\.tar\.gz/" \ - https://github.com/rhboot/shim/releases .*/v?(\d\S*)\.tar\.gz +opts="repack,compression=xz,searchmode=plain" \ + https://api.github.com/repos/rhboot/shim/releases?per_page=100 \ + https://github.com/rhboot/shim/releases/download/[^/]+/@PACKAGE@-@ANY_VERSION@@ARCHIVE_EXT@ \ No newline at end of file