Open-CMSIS-Pack / devtools

Open-CMSIS-Pack development tools - C++
Apache License 2.0
70 stars 51 forks source link

Proposal: Add a new cbuild command for checking and preparing a solution for public release #1484

Open ReinhardKeil opened 2 months ago

ReinhardKeil commented 2 months ago

Problem To Be Solved

1450 - Issue 2 describes workflow problems when an example should be included in a pack that is under development and also requires content from this pack. Removing the pre-release qualifier from *.cbuild-pack.yml will make "reproducible builds" hard during pack development.

Suggested A Solution

Add a new cbuild command release for checking and preparing a solution for public release

cbuild release <solution-name>.csolution.yml

This command always processes all contexts of the specified CMSIS solution. a) .cbuild-pack.yml includes the pack versions for all contexts and does not include pre-release pack versions b) RTE config files are checked for all contexts - they must be up-to-date and a base@version file exists c) cleans any other temporary directories / files generated by cmsis-toolbox

This command shall be executed prior to committing solutions for distribution via packs.