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

Fix git command to retrieve commit matching the tag #3239

Merged
merged 1 commit into from Nov 11, 2022

Conversation

lucacome
Copy link
Member

To find the correct binary to use for the build when a ueser checks out a tag, we need to match the exact commit for the tag. git tag --contains would list all the tags containg the commit, but we need to verify that the commit we're on matches the current tag.

To find the correct binary to use for the build when a user checks out a tag, we need to match the exact commit for the tag.
`git tag --contains` would list all the tags containing the commit, but we need to verify that the commit we're on matches the current tag.
@lucacome lucacome requested a review from a team as a code owner November 11, 2022 03:06
@lucacome lucacome self-assigned this Nov 11, 2022
@github-actions github-actions bot added the bug An issue reporting a potential bug label Nov 11, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #3239 (8e9cd7f) into main (6b41889) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #3239      +/-   ##
==========================================
- Coverage   52.50%   52.48%   -0.03%     
==========================================
  Files          59       59              
  Lines       16104    16104              
==========================================
- Hits         8456     8452       -4     
- Misses       7370     7372       +2     
- Partials      278      280       +2     
Impacted Files Coverage Δ
internal/k8s/configuration.go 95.39% <0.00%> (-0.37%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@tomasohaodha tomasohaodha merged commit 7308bbf into main Nov 11, 2022
@tomasohaodha tomasohaodha deleted the fix/download-binary branch November 11, 2022 14:25
coolbry95 pushed a commit to coolbry95/kubernetes-ingress that referenced this pull request Nov 18, 2022
To find the correct binary to use for the build when a user checks out a tag, we need to match the exact commit for the tag.
`git tag --contains` would list all the tags containing the commit, but we need to verify that the commit we're on matches the current tag.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue reporting a potential bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants