Skip to content
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

Make vg version not take 2 builds to update with the current Git version #4375

Merged
merged 8 commits into from
Aug 19, 2024

Conversation

adamnovak
Copy link
Member

Changelog Entry

To be copied to the draft changelog by merger:

  • vg's self-reported version information should no longer be able to lag behind the actual Git revision checked out

Description

The way I was generating version info headers with phony targets was not working properly on a single build for some reason. If you made a git commit, the version would take 2 builds in a row to update.

This PR makes sure to actually generate those files on every make invocation, before make decides what it actually needs to do, and seems to work properly within a single build.

@adamnovak adamnovak merged commit 428552f into master Aug 19, 2024
2 checks passed
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