mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-14 08:47:45 -04:00
Handle patch versions in versioning script (#850)
Update the release automation script so that it can correctly handle patch version numbers like "10.4.3-LTS-Patch-3". Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
parent
856d0e8363
commit
a81231139e
1 changed files with 1 additions and 1 deletions
2
.github/scripts/versioning.py
vendored
2
.github/scripts/versioning.py
vendored
|
@ -104,7 +104,7 @@ def extract_version_number_from_file(file_path):
|
|||
match = re.search('\s*\*\s*(Amazon FreeRTOS.*V(.*))', content, re.MULTILINE)
|
||||
# Is it a kernel file?
|
||||
if match is None:
|
||||
match = re.search('\s*\*\s*(FreeRTOS Kernel.*V?([0-9]*\.[0-9]*\.[0-9]*|<DEVELOPMENT BRANCH>))', content, re.MULTILINE)
|
||||
match = re.search('\s*\*\s*(FreeRTOS Kernel.*V?([0-9]*\.[0-9]*\.[0-9]*( LTS Patch \d*)?|<DEVELOPMENT BRANCH>))', content, re.MULTILINE)
|
||||
if match is None:
|
||||
match = re.search('\s*\*\s*(FreeRTOS V?([0-9]*\.[0-9]*|<DEVELOPMENT BRANCH>))', content, re.MULTILINE)
|
||||
# Is it s FreeRTOS+TCP file?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue