Skip to content

Commit

Permalink
workflow name bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
morsecodist committed Jan 24, 2022
1 parent 9c792a0 commit 493e07a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def segment_path(path: str) -> List[str]:
def get_workflow_name(sfn_state):
for k, v in sfn_state.items():
if k.endswith("_WDL_URI"):
segments = [s for s in segment_path(v) if re.match(r"v(\d+)", s)]
segments = [s for s in segment_path(v) if re.match(r".*-v(\d+)", s)]
name = segments[0] if segments else os.path.basename(v)
return os.path.splitext(name)[0]

Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.13.0-beta
v0.13.1-beta

0 comments on commit 493e07a

Please sign in to comment.