Skip to content

Tools - makecorever.py fixed packaging & avoid needless overwrites #9250

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

Merged
merged 1 commit into from
May 28, 2025

Conversation

mcspr
Copy link
Collaborator

@mcspr mcspr commented May 27, 2025

amend #9248

rewrite ci build pattern to only rewrite core_version.h once per job
restore behaviour from #6414 for other cases

update packaging script w/ new arguments

update packaging script w/ new arguments

rewrite ci build pattern to only rewrite core_version.h once per job
restore behaviour from esp8266#6414 for other cases
@mcspr mcspr requested a review from Copilot May 27, 2025 22:59
Copy link

@Copilot Copilot AI left a 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 resolves issue #9248 by refining the CI build process so that core_version.h is updated only once per job and restores previous behavior for other cases. It also updates packaging and test scripts to accommodate new arguments for makecorever.py.

  • Refactor generate() in makecorever.py to return version content instead of writing directly to an output stream.
  • Update test and packaging scripts to use new CLI arguments for makecorever.py.
  • Modify prebuild hook command in tests/common.sh to reflect the updated tooling.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
tools/makecorever.py Refactored generate() and adjusted file output handling.
tests/sanity_check.sh Updated invocation to use new CLI arguments for makecorever.py.
tests/common.sh Added a prebuild hook pattern with new arguments in the command line.
package/build_boards_manager_package.sh Revised command line arguments for makecorever.py in the packaging script.

@mcspr mcspr marked this pull request as ready for review May 27, 2025 23:08
@mcspr mcspr merged commit 2201770 into esp8266:master May 28, 2025
28 checks passed
@mcspr mcspr deleted the fixup/makecorever branch May 28, 2025 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant