- Create a branch named
branch-<major>.<minor>.x
if 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_VERSION
in.github/workflow/release.yml
& Libs file which points to the latest compatible version - Update
embedded-keycloak
,csw
andesw
version inLibs.scala
- Update
version
number inlib/package.json
- Update CSW and ESW versions in
shell.ts
- Update
<****>
with the version inrelease.yml
NPM publish step. For ex: If you are publishing1.0.0
Replace<****>
with the corresponding tag i.e v1.0.0. - Commit and push the changes to
branch-<major>.<minor>.x
branch. Ensure that pipeline is green. - Run
release.sh $VERSION$
script by providing version number argument (This triggers release workflow) Note:PROD=true
environment 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.yml
NPM publish step onbranch-<major>.<minor>.x
branch. - Merge this release branch to master.