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 (
FriendsOfSylius/sylius-starter-core,FriendsOfSylius/sylius-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
sylius-starter/sylius-starter).
Tags are split too: tag the monorepo (git tag v0.1.0 && git push --tags) and every package receives the same tag.