-
Notifications
You must be signed in to change notification settings - Fork 230
fix: use release branch and PR for version bump to respect branch pro… #904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
fix: use release branch and PR for version bump to respect branch pro… #904
Conversation
…tection - Add pull-requests: write permission - Create release branch instead of pushing directly to target branch - Automatically create PR from release branch to target branch - Check if PR already exists before creating (idempotent re-runs) - Update build-tauri and create-release jobs to use release branch - Document tag timing behavior in auto-generated PR description This fixes the issue where releases fail on protected branches that require PRs for all changes.
✅ Deploy Preview for circuitverse ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
WalkthroughThe pull request modifies the Tauri release workflow in Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
|
attach some screenshots please |
chore: release v0.0.4
|
version got bumped , reverted it back to 0.0.0 . |
|
@ThatDeparted2061 @tachyons ready for review . |
|
Nice good work |
|
@tachyons LGTM |
|
@tachyons PR has been approved by harsh . |




Summary
The manual desktop release workflow was failing because it attempted to push directly to
main, which is protected.This PR updates the workflow to use a release branch + PR-based flow, fully respecting branch protection rules.
Fixes #903
What changed
release/vX.Y.Z) instead of pushing to the target branchpull-requests: writepermissionWhy this approach
Code Understanding and AI Usage
Checklist
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.