-
Notifications
You must be signed in to change notification settings - Fork 914
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
build: always populate partial version variables #1778
Conversation
When FALCO_VERSION was provided via a CMake variable, the build would eventually fail because the partial version variables hadn't been populated. Move the creation of those outside the check of FALCO_VERSION being set so they also happen when that is provided too. Contributes-to: falcosecurity#1654 Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
c890f6e
to
e77c92d
Compare
Thanks for the fix! This seems to work for me! Since this seems to fix #1654, can you add this to the PR description?
That would help closing the issue automatically once this gets merged. |
@jasondellaluce sure. I originally put it just as Contributes-to as I was waiting for the OP to confirm it worked for them too. Have updated to Fixes now I’ve had another confirm though. |
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, thank you!
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dnwe, leogr The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
LGTM label has been added. Git tree hash: 5d9b65d6fb2cb00d0976b094f1e18e88a5e62c93
|
What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area build
What this PR does / why we need it:
When FALCO_VERSION was provided via a CMake variable, the build would
eventually fail because the partial version variables hadn't been
populated. Move the creation of those outside the check of FALCO_VERSION
being set so they also happen when that is provided too.
Which issue(s) this PR fixes:
Fixes: #1654
Special notes for your reviewer:
Does this PR introduce a user-facing change?: