Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

docs(cli): describe the binary release flow

Andrej74481c7cb20f
diff --git a/packages/cli/README.md b/packages/cli/README.md
index df5658533..9ad7bcdc9 100644
--- a/packages/cli/README.md
+++ b/packages/cli/README.md
@@ -159,4 +159,6 @@ The CLI is written with [Effect](https://effect.website) 4 (`effect/cli`, `effec
## Releasing
-Bump `version` in `package.json` and merge to `main`. The `Publish CLI Package` workflow publishes to npm with provenance and creates a `cli-v<version>` release.
+Bump `version` in `package.json` and merge to `main`. The `Release CLI` workflow (`.github/workflows/publish-cli.yml`) tests and bundles the CLI, compiles standalone binaries with Bun for macOS, Linux (glibc and musl) and Windows, and creates the `cli-v<version>` GitHub release with the binaries and a `SHA256SUMS` file. It skips versions that already have a release, and you can also run it by hand from the Actions tab.
+
+Publishing to npm stays off until the `CLI_NPM_PUBLISH` repository variable is set to `true`. With it on, the same workflow publishes `@kaneo/cli` to npm with provenance, skipping versions that are already published.