Skip to content

Commit 3172c67

Browse files
scripts/minifiy: exclude non digit tags
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
1 parent 9cd9123 commit 3172c67

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/minify

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import os
99
import shutil
1010
import tempfile
1111
import textwrap
12+
import re
1213

1314
import git
1415
from git.exc import GitCommandError
@@ -50,6 +51,7 @@ def create_release_map(source, target, excludefile):
5051
continue
5152
_tags_on_branch = source.git.tag(
5253
'--sort=v:refname', '--merged', branch.name).split('\n')
54+
_tags_on_branch = [x for x in _tags_on_branch if bool(re.search(r'\d', x))]
5355
for i, v in enumerate(_tags_on_branch):
5456
if i >= len(_tags_on_branch) - 1:
5557
continue

0 commit comments

Comments
 (0)