-
-
Notifications
You must be signed in to change notification settings - Fork 121
Merge version scripts and change nightly tag from -mdev to -nightly #328
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: mdev
Are you sure you want to change the base?
Conversation
Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
|
@copilot The content of "package.json" should not be changed. I only want the "-nightly" tag to be used for nightly CI builds, but all other builds should use the version from"package.json" as before. |
Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
Done. Reverted
Commit: 16d3d10 |
|
@copilot will the script work correctly in the below cases?
|
Yes, the script works correctly for all three cases:
The script logic handles all scenarios:
|
Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
|
Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. 📝 WalkthroughWalkthroughThe nightly build version-setting functionality has been consolidated from a standalone script into the main version-setting script. The separate Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
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 |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
|
@coderabbitai please verify that the new script works as expected for nightly builds, while preserving the previous behaviour for other CI builds and local development builds. |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: Length of output: 1411
✅ Verification ResultsScript Logic AnalysisThe merged
Nightly CI Builds (WLED_NIGHTLY_BUILD='true')
Other CI Builds & Local Development
Key Confirmations✅ The script correctly preserves previous behavior for non-nightly builds while implementing the new |
softhack007
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.
tested locally, looks good to me.
Merge version scripts and update nightly tag
Investigation Complete
set_version.pyandset_nightly_version.pyinpio-scripts/platformio.iniChanges Implemented
set_version.pyandset_nightly_version.pyinto single scriptplatformio.inito reference only one scriptset_nightly_version.pyfileHow It Works
package.jsonas-is'true','1','yes'(case-insensitive)-): Replace last segment with-nightly-nightlyValidation Complete
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.