There are multiple things in this repository that can be released:
- The signalling server container image
- The
/library
NPM package - The
/ui-library
NPM package - The entire repo and built frontend as a Github release .zip/tar.gz archive
- Switch to the target branch (e.g 5.5)
- Make/merge any changes into
/Common
directory - Based on the changes made, bump the version number according to semver in the
package.json
file - Commit the changes to the
package.json
file. - This will automatically kick off a this action for a build+push to NPM.
- Switch to the target branch (e.g 5.5)
- Make/merge any changes into
/Signalling
directory - Based on the changes made, bump the version number according to semver in the
package.json
file - **Optional: Update the version of the common library in the package.json if it got bumped.
- Commit the changes to
package.json
and potentially thepackage-lock.json
file. - This will automatically kick off a this action for a build+push to NPM.
- Switch to the target branch (e.g 5.5)
- Make/merge any changes into
/library
directory - Based on the changes made, bump the version number according to semver in the
package.json
file - Commit the changes to the
package.json
file. - This will automatically kick off a this action for a build+push to NPM.
- Switch to the target branch (e.g 5.5)
- Make/merge any changes into
/ui-library
directory - Based on the changes made, bump the version number according to semver in the
package.json
file - Optional: Update the version of the common library in the package.json if it got bumped (here).
- Optional: Update the version of the frontent library in the package.json if it got bumped (here & here).
- Commit the changes to
package.json
and potentially thepackage-lock.json
file. - This will automatically kick off a this action for a build+push to NPM.
- Switch to the target branch (e.g 5.5)
- Make/merge any changes into
/SignallingWebServer
directory - This will automatically kick off a this action for a build+push of the signalling server container image.
- Switch to the target branch (e.g 5.5)
- Make/merge any changes anywhere in the repo.
- Based on the changes made, bump the version number according to semver in the
RELEASE_VERSION
file. - Commit the changes to
RELEASE_VERSION
file. - This will automatically kick off a this action for tagged Github release with .zip and .tar.gz archives.
If multiple changes have been made, the order of releases should usually be like so:
/Common
/Signalling
/library
/ui-library
/SignallingWebServer
RELEASE_VERSION
file
You may get into a situation where a PR is failing Github Actions checks due to unpublished libraries, if you are certain everything is working and
up to date except that the libraries have not been published you can add this magic string to your commit #bypass-publish-check
that will skip the check
of building everything using published libraries. Once the PR is landed, this check will run again and you can bump the library versions in a separate PR/commit.