Skip to content

Commit

Permalink
ci(stm32cube): enhance version regex to match RC versions for example
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Bourdiol <[email protected]>
  • Loading branch information
ABOSTM authored and fpistm committed Jan 7, 2022
1 parent fc8f707 commit a531c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CI/update/stm32cube.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def checkSTLocal():
print(f"Could not find: {package_file}!")
exit(1)
# Process Cube release
release_regex = r"FW.(.+).(\d+.\d+.\d+)$"
release_regex = r"FW.(.+).(\d+.\d+.\d+.*)$"
release_match = re.match(release_regex, cube_release)
if release_match:
serie = release_match.group(1)
Expand Down

0 comments on commit a531c22

Please sign in to comment.