Releasing
The Split packages workflow runs on every push to main and on every tag: it builds
a matrix from castor monorepo:packages --json and runs castor monorepo:split <package> --push for each package.
Requirements:
- Create one empty repository per package (
opencolibri/starter-core,opencolibri/starter-themes…). - Add a
SPLIT_TOKENsecret to this repository: a fine-grained personal access token (or a GitHub App token) with Contents: read and write on the package repositories. - Register the package repositories on Packagist (and this one for
opencolibri/starter).
Tags are split too: tag the monorepo (git tag v0.1.0 && git push --tags) and every package receives the same tag.
