cops release checklist inspects the current working directory for the prerequisites of a verify/pack/distribute release workflow. It reads package.json and checks for the presence of required scripts, the CHANGELOG, a CI workflow file, and a release tarball.
Usage
Flags
Output format:
table, json, or markdown.Checks
| Check | Status logic |
|---|---|
changelog_unreleased | pass when CHANGELOG.md contains ## [Unreleased]; warn otherwise |
verify_script | pass when package.json defines a verify script; warn otherwise |
pack_internal_script | pass when package.json defines a pack:internal script; warn otherwise |
ci_workflow | pass when .github/workflows/ci.yml exists; warn otherwise |
tarball_present | pass when a <name>-<version>.tgz tarball matching package.json name and version exists; warn otherwise |
distribution_steps | Always warn — reminder to publish/share the tarball after packing |
Output columns
check, status, details
Exit codes
| Code | Meaning |
|---|---|
0 | All checks passed |
10 | One or more checks produced a warn result |
Recommended workflow
Add required scripts to package.json
Ensure
verify (typecheck + test + build) and pack:internal (verify + pack) scripts are defined.Create a CI workflow
Add
.github/workflows/ci.yml to run typecheck, test, build, and pack on every push.Examples
cops release checklist operates on the current working directory. Run it from the root of your project where package.json and CHANGELOG.md live.Related
cops release check
Run policy-based release gates.
cops release summary
Cross-product release readiness summary.
