mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-14 08:47:45 -04:00
Add do-not-push flag in the release script (#673)
This flag enables a user to only make local commits for various steps and not push them to the remote. Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
parent
9f426a4a54
commit
455793a295
2 changed files with 70 additions and 48 deletions
2
.github/scripts/versioning.py
vendored
2
.github/scripts/versioning.py
vendored
|
@ -199,7 +199,7 @@ def process_components(root_dir, components, exclude_dirs=[]):
|
|||
def update_freertos_version_macros(path_macrofile, version_str, major, minor, build):
|
||||
with open(path_macrofile, encoding='utf-8', errors='ignore', newline='') as macro_file:
|
||||
macro_file_content = macro_file.read()
|
||||
match_version = re.search(r'(^.*#define *tskKERNEL_VERSION_NUMBER *(".*")$)', macro_file_content, re.MULTILINE)
|
||||
match_version = re.search(r'(^.*#define *tskKERNEL_VERSION_NUMBER *(.*)$)', macro_file_content, re.MULTILINE)
|
||||
match_major = re.search(r'(^.*#define *tskKERNEL_VERSION_MAJOR *(.*)$)', macro_file_content, re.MULTILINE)
|
||||
match_minor = re.search(r'(^.*#define *tskKERNEL_VERSION_MINOR *(.*)$)', macro_file_content, re.MULTILINE)
|
||||
match_build = re.search(r'(^.*#define *tskKERNEL_VERSION_BUILD *(.*)$)', macro_file_content, re.MULTILINE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue