Skip to content

Commit b43c959

Browse files
authored
fix jira fix version issue (#634)
* ls Signed-off-by: Milind Waykole <[email protected]> * fix version Signed-off-by: Milind Waykole <[email protected]> --------- Signed-off-by: Milind Waykole <[email protected]>
1 parent e02d655 commit b43c959

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

utilities/jira.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def is_jira_open(jira_id: str, admin_client: DynamicClient) -> bool:
5252
# Check if the operator version in ClusterServiceVersion is greater than the jira fix version
5353
jira_fix_versions: list[Version] = []
5454
for fix_version in jira_fields.fixVersions:
55-
if _fix_version := re.search(r"\d.\d+.\d+", fix_version.name):
55+
if _fix_version := re.search(r"\d+\.\d+(?:\.\d+)?", fix_version.name):
5656
jira_fix_versions.append(Version(_fix_version.group()))
5757

5858
if not jira_fix_versions:

0 commit comments

Comments
 (0)