CICD-390 · Independent service versioning
Encyclopedia · Monorepo and large-scale build engineering · All snippets
Previous · CICD-389 · Next · CICD-391
1. Where it fits
- Placement CI release plan step.
- 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 status --output=release-plan.json
jq -e '.releases | type=="array"' release-plan.json3. How it works
The expression filters or transforms the input JSON. Where jq -e is used, a false or empty result can fail the gate.
4. Verify the result
Generate a plan from committed changesets before versioning packages independently.
Validation syntax-validated (Bash parse). Status definitions.