| name | release |
| description | Release the screenpipe monorepo. Bumps versions, triggers GitHub Actions for app, CLI, MCP, and JS packages. |
| allowed-tools | Bash, Read, Edit, Grep, Write |
Screenpipe Monorepo Release Skill
Automate releasing all components of the screenpipe monorepo.
Components & Versions
| Component | Version File | Current Pattern | Workflow |
|---|
| Desktop App | apps/screenpipe-app-tauri/src-tauri/Cargo.toml | version = "X.Y.Z" | release-app.yml |
| CLI/Server | Cargo.toml (workspace.package) | version = "0.2.X" | release-cli.yml |
| MCP | packages/screenpipe-mcp/package.json and server.json (2 fields) | "version": "X.Y.Z" | release-mcp.yml |
MCP has no commit-prefix trigger โ unlike the app, release-mcp.yml fires
only on an mcp-v* tag or workflow_dispatch, and it refuses to run when
package.json's version is already on npm (npm cannot overwrite a published
version, so the run would publish nothing). Follow
packages/screenpipe-mcp/RELEASE.md โ it has the exact commands and the
post-publish checks.
When to Release What
Always release CLI when there are changes to core screenpipe code:
screenpipe-core/
screenpipe-vision/
screenpipe-audio/
screenpipe-server/
screenpipe-db/
screenpipe-events/
screenpipe-integrations/
App-only release is fine when changes are only in:
apps/screenpipe-app-tauri/ (UI/frontend changes)
- If the release includes new or changed
#[tauri::command] handlers: from apps/screenpipe-app-tauri/, run bun run bindings:generate and verify bun run bindings:check before tagging
To check what changed since last CLI release:
git log --oneline --all | grep -E "CLI to v" | head -1
git diff <COMMIT>..HEAD --stat -- screenpipe-core screenpipe-vision screenpipe-audio screenpipe-server screenpipe-db screenpipe-events screenpipe-integrations
Release Workflow
1. Check Current Versions
echo "=== App ===" && grep '^version' apps/screenpipe-app-tauri/src-tauri/Cargo.toml | head -1
echo "=== CLI ===" && grep '^version' Cargo.toml | head -1
echo "=== MCP ===" && grep '"version"' packages/screenpipe-mcp/package.json | head -1
2. Bump Version
- App: edit
apps/screenpipe-app-tauri/src-tauri/Cargo.toml and bump the version = "X.Y.Z" line at the top of [package].
- CLI: edit root
Cargo.toml and bump version under [workspace.package].
3. Regenerate ALL Cargo.lock files (MANDATORY after any bump)
./scripts/regenerate-locks.sh
The repo has several independent cargo workspaces (root, app, SDK, SDK examples),
each with a tracked Cargo.lock recording the shared crates' versions. Bumping only
Cargo.toml leaves the other locks stale and breaks cargo test --locked on main
(happened with the v0.4.29 CLI bump โ sdk.yml went red until the locks were fixed).
Commit the regenerated locks together with the bump. style.yml runs
./scripts/regenerate-locks.sh --check on every push and fails if any lock is stale.
4. Commit & Push (Triggers Release)
git add -A && git commit -m "Bump app to vX.Y.Z" && git pull --rebase && git push
Pushing a commit whose message starts with Bump app or release-app to main triggers release-app.yml automatically (check_commit job gates on the prefix). The build is a draft only โ does NOT auto-publish. Use the release-app-publish prefix to auto-publish instead.
Do NOT also run gh workflow run release-app.yml โ it fires a second workflow_dispatch run on the same SHA, doubling the build. The push handles it.
5. Monitor Build Status
gh run list --workflow=release-app.yml --limit=1
gh run view <RUN_ID> --json status,conclusion,jobs --jq '{status: .status, conclusion: .conclusion, jobs: [.jobs[] | {name: (.name | split(",")[0]), status: .status, conclusion: .conclusion}]}'
6. Test the Draft Release
- Download from https://screenpi.pe (requires purchase token)
- Test on macOS and Windows
- Verify updater artifacts exist (.tar.gz, .sig files)
7. Publish Release
After testing, publish via the Cloudflare R2 / backend dashboard, OR commit with magic words:
git commit --allow-empty -m "release-app-publish" && git push
Quick Release (App Only)
./scripts/regenerate-locks.sh
git add -A && git commit -m "Bump app to vX.Y.Z" && git push
sleep 5 && gh run list --workflow=release-app.yml --limit=1
Build Status Format
Build <RUN_ID>:
| Platform | Status |
|----------|--------|
| macOS aarch64 | โ
success / ๐ in_progress / โ failure |
| macOS x86_64 | โ
success / ๐ in_progress / โ failure |
| Windows | โ
success / ๐ in_progress / โ failure |
Troubleshooting
Build Failed
gh run view <RUN_ID> --log-failed 2>&1 | tail -100
CI red: "cannot update the lock file ... because --locked was passed"
A version bump was pushed without regenerating every tracked Cargo.lock.
./scripts/regenerate-locks.sh && git add -A && git commit -m "fix: regenerate stale Cargo.lock files"
Cancel Running Build
gh run cancel <RUN_ID>
Re-run Failed Jobs
gh run rerun <RUN_ID> --failed
Missing Updater Artifacts (.tar.gz, .sig)
The CI copies tauri.prod.conf.json to tauri.conf.json before building. If artifacts are missing:
- Check
tauri.prod.conf.json has "createUpdaterArtifacts": true
- Check the "Use production config" step ran successfully
Configuration
Dev vs Prod Configs
tauri.conf.json - Dev config (identifier: screenpi.pe.dev)
tauri.prod.conf.json - Prod config (identifier: screenpi.pe, updater enabled)
CI automatically uses prod config for releases by copying it before build.
Trigger & Publish Behavior
- Commit prefix
Bump app or release-app pushed to main โ Draft release
- Commit prefix
release-app-publish pushed to main โ Auto-publish after successful build
workflow_dispatch (manual gh workflow run) โ Draft release (redundant with the push trigger; avoid using both)
Notes
- Linux desktop app is disabled (bundling issues)
- App builds take ~25-35 minutes
- CLI builds take ~15-20 minutes
- Always pull before push to avoid conflicts
- Updater artifacts: macOS uses
.tar.gz/.sig, Windows uses .nsis.zip/.sig