Originally created by: adityaharishch
Merging to pre-main was supposed to cut a downloadable staging build. It wasn't: release-prepare created an empty draft release and no build ran. Three distinct failures, all fixed here.
semantic-release pushed the version tag with the checkout's default GITHUB_TOKEN. GitHub does not re-trigger workflows for refs pushed with GITHUB_TOKEN, so release-build.yml (whose only trigger is push: tags: v*-staging* - it lives only on pre-main, unreachable by dispatch/workflow_run) never woke. Fix: persist GH_TOKEN (org PAT) as the checkout credential so the tag push is user-attributed and fires the build.
tauri/custom-protocol)The compile step's single-invocation trick (-- -p meridian --bin meridian) collided with the --features tauri/custom-protocol Tauri injects - cargo applied it to the daemon scope, which has no tauri dep. Every platform died with the package 'meridian' does not contain this feature. Fix: two cargo invocations (daemon, then tray).
Publish hard-required darwin-x86_64 + windows-x86_64. Made staging Apple-Silicon-only - same call as CI: dropped the x86_64 matrix leg and the Windows job; relaxed the publish completeness check and compose-updater-manifest.py REQUIRED to darwin-aarch64. One-line restorable.
Merging this to pre-main runs the fixed release-prepare (PAT tag push) → fires the fixed release-build → produces the signed/notarized macOS Apple Silicon DMG, published to the staging release + updater-staging channel, automatically on this and every future merge.
Originally posted by: coderabbitai[bot]
✨ Finishing Touches
🧪 Generate unit tests (beta)
- [ ] Create PR with unit tests - [ ] Commit unit tests in branch `fix/staging-build-auto-trigger`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.
❤️ Share
- [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)Comment
@coderabbitai helpto get the list of available commands.Ticket changed by: adityaharishch