Skip to content

Add Linux amd64 support to npm package#1

Merged
myleshorton merged 1 commit intomainfrom
linux-amd64-support
Apr 1, 2026
Merged

Add Linux amd64 support to npm package#1
myleshorton merged 1 commit intomainfrom
linux-amd64-support

Conversation

@myleshorton
Copy link
Copy Markdown
Member

Summary

  • Fix release workflow: gh release create now handles pre-existing releases by falling back to gh release upload --clobber. Every prior release failed at this step.
  • npm Linux support: npm install -g wick-mcp now works on Linux x64. Downloads the tarball (wick + libcronet.so), creates a wrapper script that sets LD_LIBRARY_PATH automatically.
  • package.json: Opened os/cpu fields to allow linux and x64.
  • v0.7.0 release: Manually uploaded the Linux artifacts that CI built but failed to attach.

Test plan

  • npm install -g wick-mcp on a Linux x64 machine
  • Verify wick version works after npm install (wrapper finds libcronet.so)
  • Tag a test release to confirm the idempotent release workflow
  • Verify macOS arm64 install still works unchanged

🤖 Generated with Claude Code

The release workflow was failing because `gh release create` errors when
the release already exists (e.g. created manually before CI finishes).
Now checks first and uses `gh release upload --clobber` for existing
releases.

npm install now works on Linux x64: downloads the linux-amd64 tarball,
extracts both wick and libcronet.so, and creates a wrapper script that
sets LD_LIBRARY_PATH automatically.

Also uploaded the missing Linux artifacts to the v0.7.0 release.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying wickproject with  Cloudflare Pages  Cloudflare Pages

Latest commit: aae4d60
Status: ✅  Deploy successful!
Preview URL: https://8b6db4ce.wickproject.pages.dev
Branch Preview URL: https://linux-amd64-support.wickproject.pages.dev

View logs

@myleshorton myleshorton merged commit 842ee1c into main Apr 1, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant