fix: download binaries from R2 before npm publish (#40)

The npm CLI platform packages were being published without binaries
because publishNpmCli() wasn't downloading them from R2 first.

- Add downloadFromReleases() helper to utils.ts
- Update publishNpmCli() to download platform binaries before publish
- Add sdks/cli/platforms/*/bin/ to .gitignore
This commit is contained in:
Nathan Flurry 2026-01-30 00:05:24 -08:00 committed by GitHub
parent cea02983b9
commit 394945f319
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 62 additions and 3 deletions

3
.gitignore vendored
View file

@ -39,3 +39,6 @@ npm-debug.log*
# Rust
Cargo.lock
**/*.rs.bk
# CLI binaries (downloaded during npm publish)
sdks/cli/platforms/*/bin/