- Create a branch named
branch-<major>.<minor>.xif not already exists frommaster. Example branch namebranch-3.0.x. All subsequent release for this release cycle should be done on this branch. All further steps are to be done on this branch. - Add release notes (
notes/<version>.markdown) - Update top-level
CHANGELOG.md - Update top-level
README.md - Update
CSW_VERSION,ESW_VERSIONin.github/workflow/release.yml& Libs file which points to the latest compatible version - Update
embedded-keycloak,cswandeswversion inLibs.scala - Update
versionnumber inlib/package.json - Update CSW and ESW versions in
shell.ts - Update
<****>with the version inrelease.ymlNPM publish step. For ex: If you are publishing1.0.0Replace<****>with the corresponding tag i.e v1.0.0. - Commit and push the changes to
branch-<major>.<minor>.xbranch. Ensure that pipeline is green. - Run
release.sh $VERSION$script by providing version number argument (This triggers release workflow) Note:PROD=trueenvironment variable needs to be set before runningrelease.sh
After release pipeline is green:
- Verify ESW-TS is published on npm registry successfully with the expected version.
- Update the version back with
<****>inrelease.ymlNPM publish step onbranch-<major>.<minor>.xbranch. - Merge this release branch to master.