@catladder/cli 0.0.0-next-89bce6d0 → 0.0.0-next-ddc387fe

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/apps/cli/src/release/changesetsReleaseJob.js +4 -0
  2. package/dist/apps/cli/src/release/changesetsReleaseJob.js.map +1 -1
  3. package/dist/apps/cli/src/release/githubQueuedRelease.js +22 -3
  4. package/dist/apps/cli/src/release/githubQueuedRelease.js.map +1 -1
  5. package/dist/apps/cli/src/release/stepSummary.d.ts +6 -0
  6. package/dist/apps/cli/src/release/stepSummary.js +32 -0
  7. package/dist/apps/cli/src/release/stepSummary.js.map +1 -0
  8. package/dist/bundles/catci/index.js +3 -3
  9. package/dist/bundles/catenv/index.js +216 -109
  10. package/dist/bundles/cli/index.js +216 -109
  11. package/dist/bundles/skills/catladder-pipelines/SKILL.md +8 -1
  12. package/dist/bundles/skills/catladder-releases/SKILL.md +17 -10
  13. package/dist/packages/pipeline/src/backends/github/GithubBackend.js +93 -72
  14. package/dist/packages/pipeline/src/backends/github/GithubBackend.js.map +1 -1
  15. package/dist/packages/pipeline/src/backends/github/ensureImageJobs.d.ts +12 -0
  16. package/dist/packages/pipeline/src/backends/github/ensureImageJobs.js +40 -0
  17. package/dist/packages/pipeline/src/backends/github/ensureImageJobs.js.map +1 -0
  18. package/dist/packages/pipeline/src/backends/github/githubReleaseJobs.d.ts +17 -14
  19. package/dist/packages/pipeline/src/backends/github/githubReleaseJobs.js +76 -37
  20. package/dist/packages/pipeline/src/backends/github/githubReleaseJobs.js.map +1 -1
  21. package/dist/skills/catladder-pipelines/SKILL.md +8 -1
  22. package/dist/skills/catladder-releases/SKILL.md +17 -10
  23. package/dist/tsconfig.tsbuildinfo +1 -1
  24. package/package.json +1 -1
  25. package/src/release/changesetsReleaseJob.ts +6 -0
  26. package/src/release/githubQueuedRelease.ts +37 -3
  27. package/src/release/stepSummary.ts +27 -0
@@ -30,19 +30,25 @@ are generated, never hand-edited.
30
30
  - On GitLab the button is a quick no-op job; the actual release runs
31
31
  in the automatic `🚀 release once pipeline succeeds` job (skipped
32
32
  when the button was never clicked — never run it by hand).
33
- - On GitHub the `create-release` dispatch task releases immediately
33
+ - On GitHub, releasing is the **`🚀 catladder create release`**
34
+ workflow (Actions sidebar → Run workflow): it releases immediately
34
35
  when the main workflow for HEAD is green, queues the release when
35
- it is still running (the `catladder release on green` workflow then
36
+ it is still running (the `đŸ› ī¸ catladder release on green` workflow then
36
37
  picks it up on completion), and fails when the run concluded red.
37
38
  - **`auto`** — the release job runs automatically on every main-branch
38
39
  pipeline (it still no-ops when there is nothing to release).
39
40
 
40
- There is always also a manual **`âš ī¸ force create release`** job as an
41
- escape hatch: it releases **immediately**, ignoring the state of the
42
- pipeline. With `method: "changesets"` it has an extra meaning: it
43
- releases **even when no changesets are pending** (patch bump with a
44
- generic changelog entry) — the recovery path when a change was merged
45
- without a changeset and must ship now.
41
+ There is always also a **force release** escape hatch that releases
42
+ **immediately**, ignoring the state of the pipeline: on GitLab the
43
+ manual `âš ī¸ force create release` job, on GitHub the *force* checkbox of
44
+ the `🚀 catladder create release` workflow. With `method: "changesets"`
45
+ forcing has an extra meaning: it releases **even when no changesets are
46
+ pending** (patch bump with a generic changelog entry) — the recovery
47
+ path when a change was merged without a changeset and must ship now.
48
+
49
+ On GitHub, other manual tasks are split into per-kind dispatch
50
+ workflows the same way (`â–ļī¸ catladder deploy`, `âšī¸ catladder stop`,
51
+ `â†Šī¸ catladder rollback`), each with a dropdown of its tasks.
46
52
 
47
53
  ## `method` — how the version is decided
48
54
 
@@ -108,8 +114,9 @@ the `security` commands in the `catladder-cli` reference.
108
114
 
109
115
  - Fails immediately on the audit → handle the security-audit gate above.
110
116
  - `changesets` released nothing → no `.changeset/*.md` files were
111
- pending. To ship anyway, run `âš ī¸ force create release` (patch bump),
112
- or merge an MR adding a changeset describing the accumulated work.
117
+ pending. To ship anyway, force the release (patch bump) — gitlab:
118
+ `âš ī¸ force create release` job, github: force checkbox — or merge an
119
+ MR adding a changeset describing the accumulated work.
113
120
  - Wrong version bump → check commit types (semantic-release) or the bump
114
121
  levels in the changeset files (changesets).
115
122
  - Inspect the job with `yarn catladder project ci job-log` (see the