@donezone/cli 0.1.14 → 0.1.15
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 +7 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,7 +12,8 @@ logic outlined in the spec, add supporting modules under `src/`, and extend the
|
|
|
12
12
|
Single-file binaries for `@donezone/cli` are built automatically via the
|
|
13
13
|
`cli-build` job inside `.github/workflows/npm-publish.yml`. Every publishable tag uploads archives for Linux
|
|
14
14
|
(glibc only, x64 + arm64), macOS (arm64 + x64), and Windows (x64). Each release also includes a `manifest.json`
|
|
15
|
-
file used by the installer.
|
|
15
|
+
file used by the installer. After each release, the workflow mirrors all binaries + manifest to the public
|
|
16
|
+
`mccallofthewild/done-cli-binaries` repository so `install.sh` can pull them without authenticating.
|
|
16
17
|
|
|
17
18
|
To install the latest CLI binary without cloning this repo, run:
|
|
18
19
|
|
|
@@ -21,12 +22,15 @@ curl -fsSL https://raw.githubusercontent.com/mccallofthewild/cw-js/main/packages
|
|
|
21
22
|
```
|
|
22
23
|
|
|
23
24
|
Pass an explicit tag or version (`bash install.sh v0.1.4`) to install a historical build. Set
|
|
24
|
-
`DONECLI_BIN_DIR` to override the installation directory.
|
|
25
|
+
`DONECLI_BIN_DIR` to override the installation directory. Point `DONECLI_RELEASE_REPO` at your own public
|
|
26
|
+
releases repository if you mirror binaries elsewhere.
|
|
25
27
|
|
|
26
28
|
### Publishing binaries
|
|
27
29
|
|
|
28
30
|
Push a tag named `vX.Y.Z` (or run the workflow manually) to build and publish a new set of multi-platform
|
|
29
31
|
binaries (Linux glibc, macOS, Windows) plus the manifest file. The `.github/workflows/npm-publish.yml` workflow
|
|
30
|
-
(jobs `cli-build`/`cli-release`) runs automatically for each such tag push
|
|
32
|
+
(jobs `cli-build`/`cli-release`) runs automatically for each such tag push and mirrors artifacts to the public
|
|
33
|
+
`mccallofthewild/done-cli-binaries` releases (requires a `CLI_RELEASES_TOKEN` PAT secret so the workflow can
|
|
34
|
+
publish to that repository).
|
|
31
35
|
Run `bun bump-cli [patch|minor|major]` from the repo root to bump the CLI version, stamp the release commit,
|
|
32
36
|
and create the tag in one step.
|