- 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
sbt-docsversion inplugins.sbt - Update
CSW_VERSION,ESW_VERSIONin.github/workflows/release.yml - Update
embedded-keycloak,csw,rtmandeswversion inLibs.scala - Update
versionnumber inpackage.json - Update CSW and ESW versions in
integration/utils/shell.tsand in osw-apps repo - Update osw-apps branch name in rtm.sh, scripts/appLauncher.sh
- Update
<****>with the version inrelease.yml"NPM publish" step. Example: If you are publishing1.0.0Replace<****>with the corresponding tag i.e v1.0.0. - Run script
./copyright.shin root folder to add copyright header if missing in source & test files. - Commit and push the changes to
branch-<major>.<minor>.xbranch. Ensure that pipeline is green for dev and paradox link check. - Run
release.sh $VERSION$script by providing version number argument (This triggers release workflow) Note:PROD=trueenvironment variable needs to be set before runningrelease.shExample for release 0.4.1-RC1:PROD=true ./release.sh v0.4.1-RC1
After release pipeline is green:
- Verify ESW-TS is published on npm registry successfully with the expected version.
- Update example app package.json with latest version of esw-ts.
- Run
npm installin example app & pushpackage-lock.json&package.jsonto repo. - Merge this release branch to master.