-
Notifications
You must be signed in to change notification settings - Fork 834
include Cortex version in cortex_build_info #2468
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
Conversation
c2437ac to
e79b3f7
Compare
e79b3f7 to
ca93c1b
Compare
|
I've update the Makefile to use the short revision format, but I don't think there's any value in using |
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
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.
Thanks! I much prefer this solution, compared to handling different linker paths based on vendoring or not.
|
Shall we have CHANGELOG entry for this? |
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.
Thanks @thorfour for working on it! I just pushed the CHANGELOG entry so we can move forward with the PR.
Signed-off-by: Thor <[email protected]>
Signed-off-by: Marco Pracucci <[email protected]>
cbe7ab2 to
c7c5e8a
Compare
What this PR does: Adds the version,branch,revision to the build args, so that
cortex_build_infocorrectly populates the version number.Fixes #1709
cortex_build_info{branch="build-info-version",goversion="go1.13.3",revision="ca93c1b87",version="1.0.0"} 1Checklist
CHANGELOG.mdupdated - the order of entries should be[CHANGE],[FEATURE],[ENHANCEMENT],[BUGFIX]