Skip to content

Commit a531c22

Browse files
ABOSTMfpistm
authored andcommitted
ci(stm32cube): enhance version regex to match RC versions for example
Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
1 parent fc8f707 commit a531c22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CI/update/stm32cube.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ def checkSTLocal():
302302
print(f"Could not find: {package_file}!")
303303
exit(1)
304304
# Process Cube release
305-
release_regex = r"FW.(.+).(\d+.\d+.\d+)$"
305+
release_regex = r"FW.(.+).(\d+.\d+.\d+.*)$"
306306
release_match = re.match(release_regex, cube_release)
307307
if release_match:
308308
serie = release_match.group(1)

0 commit comments

Comments
 (0)