-
Notifications
You must be signed in to change notification settings - Fork 8
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
Rename VERSION to CPS_VERSION #91
Rename VERSION to CPS_VERSION #91
Conversation
@bretbrownjr @lunacd @dcbaker Please take a look, thanks |
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.
I like any change that makes automation more reliable, so I'd like to see this PR land.
However, I think "CPS_VERSION" as a filename might be confusing. That's very similar to the field in cps files that represents the version of the CPS schema (example). I think the file being changed here is supposed to represent the version of this project, which is a different thing.
Maybe name the file PROJECT_VERSION
or CPS_CONFIG_VERSION
instead?
@ckyang0225 or @dcbaker... can someone educate me about the filename VERSION
confuses Meson?
tbh I'm not meson expert but just observed this issue and tried to fix. |
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.
It fixes things, so I'll merge. Happy to revisit with @dcbaker if we missed something.
Ah, I have an idea of what's going on. Meson by default includes the local directory, both source and build. I'll send out a followup to see if that fixes things. |
The
VERSION
file introduced from cc40978 caused meson build fail.This PR fixed it by renaming
VERSION
file toCPS_VERSION
.Also verified all tests passed now, and CI passes, too.
Before:
After: