Releasing
The release process is pipeline-driven. Never bump the version, write a
Release vX.Y.Z commit, or create a tag by hand — these are owned by the release
pipeline. There is no changelog.
Release Process
-
A developer manually runs the
bump_versionjob in the GitLab CI pipeline at https://gitlab.racom.eu/dev/mirror/rades_react/-/pipelines/new:- Populate the
bump_versionparameter by selecting the type of version bump (major,minor, orpatch). - Click the New pipeline button.
- Populate the
-
The
bump_versionjob:- Updates the version number in
package.jsonandpackage-lock.jsonon themasterbranch. - Commits the change to a new branch and pushes it to the remote.
- Creates and merges that branch into
mastervia a Bitbucket pull request. - Tags the commit (now on
master) and pushes the tag.
- Updates the version number in
-
A tagged commit triggers the CI/CD pipeline that:
- Publishes the package to the npm registry.
- Deploys the documentation.
- Opens pull requests in Bitbucket to update the RADES version in the consumer
applications RA2W (
ra2_ui_web_client) and WECL (web_client).