From 630cfc8e59a1e009eeaaf59fc7c3ce80334ec8fa Mon Sep 17 00:00:00 2001
From: Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm>
Date: Sun, 24 Jan 2021 06:07:06 +0000
Subject: [PATCH] CI: fix xheck_tag to be compatible with Amber

---
 debian/check_release.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/check_release.py b/debian/check_release.py
index 66788911..7eb64fcb 100755
--- a/debian/check_release.py
+++ b/debian/check_release.py
@@ -5,6 +5,7 @@ Feed it the first changelog line, and then all available tags.
 """
 
 import re, sys
-tag = "v" + re.findall("\\((.*)\\)", input())[0]
+version = re.findall("\\((.*)\\)", input())[0]
+tag = 'v' + re.findall("([0-9]+\\.[0-9]+\\.[0-9]+).*", version)[0]
 if tag not in map(str.strip, sys.stdin.readlines()):
     raise Exception("Changelog's current version doesn't have a tag. Push the tag!")
-- 
GitLab