mirror of
https://github.com/BloopAI/dev-manager-mcp.git
synced 2026-08-23 11:58:33 +00:00
Implement CI and build releases Please copy the pre-release and logic that allows us to use JS + NPX to distribute the rust binary, with code signing on mac. You can view some examples in a different repo at /Users/lkw/Documents/repos/vibe-kanban - .github/workflows/pre-release.yml - .github/workflows/publish.yml - npx-cli/bin/cli.js - npx-cli/package.json
53 lines
1.1 KiB
Markdown
53 lines
1.1 KiB
Markdown
# Manual Release Scripts
|
|
|
|
## manual-release.sh
|
|
|
|
Creates a single-platform npm package for testing or manual publishing.
|
|
|
|
### Usage
|
|
|
|
```bash
|
|
./scripts/manual-release.sh
|
|
```
|
|
|
|
This script will:
|
|
1. Detect your current platform (macOS/Linux/Windows, x64/ARM64)
|
|
2. Install the Rust target if needed
|
|
3. Build the release binary
|
|
4. Create the dist structure
|
|
5. Zip the binary
|
|
6. Install npm dependencies
|
|
7. Create a .tgz package
|
|
|
|
### Testing Locally
|
|
|
|
After running the script:
|
|
|
|
```bash
|
|
# Install globally to test
|
|
npm install -g npx-cli/dev-manager-mcp-*.tgz
|
|
|
|
# Run it
|
|
dev-manager-mcp --help
|
|
|
|
# Uninstall when done
|
|
npm uninstall -g dev-manager-mcp
|
|
```
|
|
|
|
### Publishing Manually
|
|
|
|
```bash
|
|
cd npx-cli
|
|
npm login
|
|
npm publish dev-manager-mcp-*.tgz --access public
|
|
```
|
|
|
|
### Important Notes
|
|
|
|
- This creates a **single-platform** package (only your current platform)
|
|
- For production releases with **all platforms**, use GitHub Actions
|
|
- The manual script is useful for:
|
|
- Local testing before setting up CI/CD
|
|
- Quick iterations during development
|
|
- Publishing platform-specific test versions
|