- Create, checkout and push a new release branch
- Fetch tags
git fetch --tags
- Run
yarn lerna:version
locally from your release branch. This will push your release changes(changelog and tags) to the branch on github. - Ensure that correctly formatted tags have been created for each package being versioned. Tag needs to be in the format of
@americanexpress/[package-name]@x.x.x
for example@americanexpress/[email protected]
. This can impact future releases. - Create a pull request from your branch to the
main
branch with your changes. - When merging try to ensure that commit does not get squashed as this will cause the tags be against missing commits.
- Once merged run the manually publish github action workflow.
One App CLI is currently not setup for pre-releases.
In theory, if one is required, using --conventional-prerelease in step two should work. For example: yarn lerna:version --conventional-prerelease