build(docs): introduce release scriptThis change introduces a new NPM run script to automatically generatethe release changelog, as well as bump version numbers across thecode-base and create the
build(docs): introduce release scriptThis change introduces a new NPM run script to automatically generatethe release changelog, as well as bump version numbers across thecode-base and create the release tag.This script runs [Standard Version] to execute this, which is a tooldesigned around automating substantial parts of the release process.This can be done by running: npm run release -- [<standard-version args>]Standard Version expects the project to adhere to the [SemanticVersioning] convention which TF-A does not, so you may need to specifythe version manually, e.g.: npm run release -- --release-as 2.6.0Individual steps of the release process may also be skipped at-will,which may be necessary when, for example, tweaking the changelog: npm run release -- --skip.commit --skip.tagStandard Version is configured by the `.versionrc.js` file, whichcontains information about the Conventional Commits types and scopesused by the project, and how they map to the changelog.To maintain continuity with the existing changelog style - at least tothe extent possible in the move from manual to automatic creation - acustomized changelog template has been introduced, based on theConventional Commits template provided by Standard Version.This template package extends the Conventional Commits template packageby introducing support for parsing the Conventional Commits scopes intochangelog sections, similarly to how they were previously organized.[Standard Version]:https://github.com/conventional-changelog/standard-version[Semantic Versioning]: https://semver.orgChange-Id: I5bafa512daedc631baae951651c38c1c62046b0aSigned-off-by: Chris Kay <chris.kay@arm.com>
show more ...