Skip to content
Snippets Groups Projects
Commit 93e9b676 authored by Daniel Nemergut's avatar Daniel Nemergut
Browse files

Wasn't trimming the entire el suffix

parent 46d163f2
No related branches found
No related tags found
2 merge requests!1706merge 2.8.4 to main,!1683WS-1405 CASA version mixup
Pipeline #16122 passed
......@@ -42,7 +42,7 @@ RELEASE_CASA_REGEX = r"^casa-[0-9\.\-]*(pipeline-)?.*"
DEV_CASA_REGEX = r"^casa-[0-9\.\-]*(pipeline-)?[^tp]"
CASA_VERSION_REGEX = r"[a-zA-Z\-]+([\d]+(\.[\d]+){2}(-[\d]+){0,1}).*"
PIPELINE_VERSION_REGEX = r".*([\d]{4}(\.[\d]+){3}).*"
EL_SUFFIX_REGEX = r"el[0-9]+$"
EL_SUFFIX_REGEX = r"[\.\-]el[0-9]+$"
def casa_version_from_path(path: str) -> str:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment