Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update github Auto-Release workflow to add an option to set the main branch version in task.h #337

Merged

Conversation

paulbartell
Copy link
Contributor

@paulbartell paulbartell commented May 28, 2021

Update github Auto-Release workflow to add an option to set the main branch version in task.h

Description

Adding text into this new field updates the following macros in task.h in the main branch:
tskKERNEL_VERSION_NUMBER (alphanumeric string)
tskKERNEL_VERSION_MAJOR (numeric only)
tskKERNEL_VERSION_MINOR (numeric only)
tskKERNEL_VERSION_BUILD (numeric only)

This allows the person driving the software release to set the version number that ends up in the main branch task.h file independently of the version number of the current release.

If any non-numeric characters are added to the version number field, these characters will be included in tskKERNEL_VERSION_NUMBER, but removed from tskKERNEL_VERSION_MAJOR, tskKERNEL_VERSION_MINOR, and tskKERNEL_VERSION_BUILD.

Test Steps

Tested on my personal forks of the FreeRTOS and FreeRTOS-Kernel repositories.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@paulbartell paulbartell requested a review from a team as a code owner May 28, 2021 10:28
…branch version in task.h

Adding text into this new field updates the following macros in task.h in the main branch:
tskKERNEL_VERSION_NUMBER (alphanumeric string)
tskKERNEL_VERSION_MAJOR (numeric only)
tskKERNEL_VERSION_MINOR (numeric only)
tskKERNEL_VERSION_BUILD (numeric only)
@paulbartell paulbartell force-pushed the feature/update-kernel-release-script branch from eaa6bfc to 8bcfee1 Compare May 28, 2021 10:33
@n9wxu n9wxu merged commit 6425e58 into FreeRTOS:main May 28, 2021
laroche pushed a commit to laroche/FreeRTOS-Kernel that referenced this pull request Apr 18, 2024
In addition to fixing MISRA warnings, code is updated to have complexity <= 8. Also, this adds changes from PR FreeRTOS#313, which allows the support of simultaneous connections in the mbedTLS transport wrapper. 

Co-authored-by: Muneeb Ahmed <54290492+muneebahmed10@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants