Releasing a new version involves publishing packages to the NPM public registry and creating a container image containing a stand-alone version of the UI app (see apps/assisted-ui). The release.yaml workflow contains the scripts for producing and publishing the final artifacts.
The library's package.json must contain the following section in order to be selected by the CI.
{
"publishConfig": {
"access": "public"
}
}There are 3 possible releases, driven by the suffix in the release name:
- OCM - no suffix
- CIM - suffix
-cim - Chatbot - suffix
-chatbot
- Make sure you have been granted the
maintanerrole in the project settings. - Create a new branch from
masterand name it following this pattern:releases/v<some-semver-string>-<optionally_a_suffix>. - Draft a new release through GitHub's interface.
- Fill the form with the following details:
- Tag:
v<some-semver-string>-<optionally_a_suffix> - Target branch:
releases/v<some-semver-string>-<optionally_a_suffix>(the same as in the previous step). - Title:
v<some-semver-string>-<optionally_a_suffix>(again, the same as in the previous step). - Description: Generate the release notes automatically (recommended), or edit the field manually.
- Tag: