Skip to content

Commit

Permalink
Build: added '.' between 'rc' and number to is_external_release regex
Browse files Browse the repository at this point in the history
(cherry picked from commit 8d9d174)
  • Loading branch information
luan-n-nguyen committed Nov 22, 2024
1 parent 4c25c3d commit 72b1d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hmftools-build.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def build_and_release(raw_tag: str, github_key: str, github_client_id: str, gith
exit(1)
module = match.group(1)
version = match.group(2)
is_external_release = re.compile(r'^[0-9\.]+(-rc[0-9]+)*$').match(version) != None
is_external_release = re.compile(r'^[0-9\.]+(-rc\.[0-9]+)*$').match(version) != None

# Clean the raw_tag such that it only includes the groups captured by the regex
# For example: raw_tag = orange-v1.0.0 then tag = orange-1.1.0
Expand Down

0 comments on commit 72b1d5f

Please sign in to comment.