@theholocron/cli 5.0.0-alpha.470 → 5.0.0-alpha.472
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.
- package/README.md +10 -0
- package/dist/cli.mjs +1 -1
- package/dist/cli.mjs.map +1 -1
- package/dist/presets.d.mts +5 -2
- package/dist/presets.mjs +5 -3
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -513,6 +513,16 @@ deploy`. A package that doesn't apply is skipped; a deploy that
|
|
|
513
513
|
doesn't succeed exits non-zero. The shared `release` workflow runs it as its own
|
|
514
514
|
`deploy` job after the release job (opt in with `deploy-on-release: true`).
|
|
515
515
|
|
|
516
|
+
Each package is compared from the commit it was last deployed at, not only from
|
|
517
|
+
`--from`: a successful deploy moves a `deployed/<package>` tag
|
|
518
|
+
(`@theholocron/sentinel` is `deployed/theholocron-sentinel`) to the release
|
|
519
|
+
commit and pushes it, so a release whose deploy job failed is made up by the next
|
|
520
|
+
release, even one that touches nothing in the app. A package with no tag yet (or
|
|
521
|
+
one whose tag is not an ancestor of `--to`) falls back to `--from`, and the skip
|
|
522
|
+
line then says `No deploy is recorded for it yet.` A tag that cannot be pushed is
|
|
523
|
+
a warning, not a failed deploy. `--dry-run` writes no tag; the deploy job needs
|
|
524
|
+
`contents: write`.
|
|
525
|
+
|
|
516
526
|
### `holocron run ci`
|
|
517
527
|
|
|
518
528
|
```bash
|
package/dist/cli.mjs
CHANGED
|
@@ -17632,7 +17632,7 @@ async function runSetup(input) {
|
|
|
17632
17632
|
print(formatStep(steps[steps.length - 1]));
|
|
17633
17633
|
}
|
|
17634
17634
|
for (const key of keys) {
|
|
17635
|
-
steps.push(await runStep("errors", `
|
|
17635
|
+
steps.push(await runStep("errors", `set secret ${key}`, dryRun, async () => {
|
|
17636
17636
|
await secrets.setSecret({ kind: "repo" }, key, dsn);
|
|
17637
17637
|
}));
|
|
17638
17638
|
print(formatStep(steps[steps.length - 1]));
|