feat(release): add curl install and standalone tarball#162
Conversation
Pack a self-contained tarball (with node_modules) in the release workflow so users can install with: curl -fsSL .../install.sh | bash Fallback to source archive + npm install when no standalone tarball.
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
- fetch GitHub API once, reuse body for both standalone URL and tag parsing - make API URL overridable via CODEXMATE_API_URL for testing - fix grep/sed patterns for compact JSON (no space after colon) - add fetch() helper to deduplicate curl/wget logic
- Add "Install via curl" / "curl 一键安装" section to both READMEs - Remove duplicated Web UI / MCP / Config / Env Vars sections from English README tail
Version badge first, add install method (curl|npm) and platform (Termux|Linux|macOS) badges to both READMEs
Summary
scripts/install.sh— curl one-liner installer that downloads standalone tarball from GitHub Release, extracts to~/.codexmate, symlinks to~/.local/bin/codexmate, auto-adds PATH. Fallback to source archive +npm install --prodwhen no standalone tarball available.release.ymlto pack a self-contained tarball (codexmate-{version}-standalone.tar.gz) includingnode_modules/alongside the npm tgz, and upload both to the GitHub Release.Tests
scripts/install.shpasses shellcheck (bash syntax, set -euo pipefail)release.ymldiff reviewed: standalone step runs after npm pack, before gh-release, files list uses|for multiple artifactsnpm install --omit=devensures only prod deps in tarballcurl -fsSL .../install.sh | bashon fresh machine after next release