-
Notifications
You must be signed in to change notification settings - Fork 14
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
buildhelper: try harder to get version #1122
Conversation
add a field to expose the raw as-from-git branch name. Along the way, add comments to explain the meaning of API fields. Signed-off-by: Francesco Romani <[email protected]>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ffromani 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 |
13a51b1
to
ecfb024
Compare
ecfb024
to
7a689c3
Compare
Report git raw branch name Also try first to fetch the version from the master location (Makefile) before to deduce fromthe branch name. The immediate benefit is we have a much higher chance to always report a version number, because we must have a version number in the master location in the Makefile. Signed-off-by: Francesco Romani <[email protected]>
7a689c3
to
2c117f2
Compare
/retest-required |
/lgtm |
/cherry-pick release-4.18 |
@ffromani: #1122 failed to apply on top of branch "release-4.18":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
needs #1125 before |
/cherry-pick release-4.18 |
@ffromani: new pull request created: #1126 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
try first to fetch the version from the master location (Makefile) before to deduce from the branch name.
The immediate benefit is we have a much higher chance to always report a version number, because we must have a version number in the master location in the Makefile.
Also: report git raw branch name