3.0 KiB
3.0 KiB
Cutting releases
There are multiple things in this repository that can be released:
- The signalling server container image
- The
/libraryNPM package - The
/ui-libraryNPM package - The entire repo and built frontend as a Github release .zip/tar.gz archive
Signalling Server Container
- Switch to the target branch (e.g 5.2)
- Make/merge any changes into
/SignallingWebServerdirectory - This will automatically kick off a this action for a build+push of the signalling server container image.
The /library NPM package
- Switch to the target branch (e.g 5.2)
- Make/merge any changes into
/librarydirectory - Based on the changes made, bump the version number according to semver in the
package.jsonfile - Commit the changes to the
package.jsonfile. - This will automatically kick off a this action for a build+push to NPM.
The ui-library NPM package
- Switch to the target branch (e.g 5.2)
- Make/merge any changes into
/ui-librarydirectory - Based on the changes made, bump the version number according to semver in the
package.jsonfile - Optional: Update the version of the core library in the package.json if it got bumped (here & here).
- Commit the changes to
package.jsonand potentially thepackage-lock.jsonfile. - This will automatically kick off a this action for a build+push to NPM.
The Github releases archives
- Switch to the target branch (e.g 5.2)
- Make/merge any changes anywhere in the repo.
- Based on the changes made, bump the version number according to semver in the
RELEASE_VERSIONfile. - Commit the changes to
RELEASE_VERSIONfile. - This will automatically kick off a this action for tagged Github release with .zip and .tar.gz archives.
Handling multiple changes
If multiple changes have been made, the order of releases should usually be like so:
/library/ui-libraryRELEASE_VERSIONfile