From 7c2c32a0e9f821c4137b9c9923e20eea3bc1c20d Mon Sep 17 00:00:00 2001
From: Julian Brost <julian.brost@icinga.com>
Date: Wed, 13 Apr 2022 14:56:37 +0200
Subject: [PATCH] Use GitHub tags page in debian/watch

This allows building packages after the tag was pushed but before the corresponding GitHub release was published.

The same change was already done in deb-icinga2:
https://git.icinga.com/packaging/deb-icinga2/-/commit/e8e9e552de2b97a8f77248471a8273cf2c12e4b5
---
 debian/watch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/watch b/debian/watch
index 440f66d..ef92576 100644
--- a/debian/watch
+++ b/debian/watch
@@ -2,4 +2,4 @@ version=3
 # filenamemangle -> prepending icinga2 if only tag name
 # versionmangle  -> convert version addition to ~ version
 opts=filenamemangle=s/.+\/(?:icinga2-|v)([\d.]+(?:-.+)?).tar.gz/icinga2-$1.tar.gz/,versionmangle=s/^([\d.]+)-(.+)?/$1~$2/ \
-https://github.com/Icinga/icinga2/releases .*/(?:icinga2-|v)([\d.]+(?:-.+)?).tar.gz
+https://github.com/Icinga/icinga2/tags .*/(?:icinga2-|v)([\d.]+(?:-.+)?).tar.gz
-- 
GitLab