This repository follows the staging and versioning workflow proposed in issue #55.
stagingis the protected integration branch for day-to-day development.mainis the protected production branch.- Feature and fix branches should be created from
staging. - Release branches should be created from
stagingand merged intomain.
- Pull requests to
stagingormainbuild changed containers with thePR-<number>tag. - Pushes to
stagingbuild changed containers with thestagingandstaging-<commit-sha>tags. - Pushes to
mainbuild changed containers with thelatestandv<major>.<minor>.<patch>tags.
- Node container versions come from the relevant package
package.json. - The transcription service version comes from
transcription_service/pyproject.toml. - Changesets is configured for the npm workspace packages in this repository.
- The transcription service version is still maintained in
pyproject.toml.
- Run
npm run changeseton a release branch to record package release notes and bump types. - Run
npm run changeset:versionbefore opening the release PR tomain. changeset versionupdates package versions and changelogs for the npm workspace packages.
- Create the
stagingbranch on GitHub. - Add branch protection rules for both
stagingandmain.