We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea6f9ff commit d5eb9b1Copy full SHA for d5eb9b1
1 file changed
utilities/jira.py
@@ -52,7 +52,7 @@ def is_jira_open(jira_id: str, admin_client: DynamicClient) -> bool:
52
# Check if the operator version in ClusterServiceVersion is greater than the jira fix version
53
jira_fix_versions: list[Version] = []
54
for fix_version in jira_fields.fixVersions:
55
- if _fix_version := re.search(r"\d.\d+.\d+", fix_version.name):
+ if _fix_version := re.search(r"\d+\.\d+(?:\.\d+)?", fix_version.name):
56
jira_fix_versions.append(Version(_fix_version.group()))
57
58
if not jira_fix_versions:
0 commit comments