-
Notifications
You must be signed in to change notification settings - Fork 7
Fix bump-versions script and improve robustness #177
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
Fix bump-versions script and improve robustness #177
Conversation
It's not possible to unignore files inside an ignored directory
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR refactors the bump-versions script to improve robustness and reliability. The script now uses explicit app configurations instead of file globbing, ensuring all expected files are found and updated.
- Replaced generic file globbing with explicit app-specific configurations
- Added mandatory lockfile updates with proper error handling
- Removed dry-run mode and improved logging with colored output
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| scripts/bump-versions.js | Complete rewrite with explicit app configs, enhanced error handling, and colored logging |
| react-native-expo/.gitignore | Updated iOS exclusions to be more specific (exclude Pods/ but not the entire ios/ directory) |
| .github/workflows/update-sdk-versions.yml | Simplified PR description template by removing detailed app list |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
teodorciuraru
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Running the script to bump versions didn't result in a PR that passed CI so this is adding logic to the script to update lock files and fail if any of the lockfile updates is not successful or the dependency to update can't be found.
Tested at #178