Skip to content

CICD-391 · Monorepo release orchestration ​

Encyclopedia · Monorepo and large-scale build engineering · All snippets

Previous · CICD-390 · Next · CICD-392

1. Where it fits ​

  • Placement approved release job.
  • Prerequisites trusted checkout with the base ref fetched and pinned package manager or build tool.
  • Platforms local-linux, github-actions, gitea-actions.

2. Copy the snippet ​

bash
pnpm exec changeset version
pnpm install --lockfile-only
git diff --check

3. How it works ​

Git computes a source difference over the selected paths or revisions. Choose an available base ref with the intended merge relationship.

4. Verify the result ​

Run versioning in a release branch and review manifest, changelog and lockfile changes before a separate publish step.

Validation syntax-validated (Bash parse). Status definitions.