-
Notifications
You must be signed in to change notification settings - Fork 652
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
Avoid throwing WarningException by skip call gitPreparer when building a tagged version #2933
Conversation
…hen building a tagged version.
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.
This looks benign enough, but could you please add a test that provokes the problem?
@asbjornu unit tests added |
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.
Awesome!
Thank you @jhy871167495 for your contribution! |
invalid use of Lazy<GitVersionContext>, #2933 fix doesn't work actualy
#2927
Description
if GitVersionContext.IsCurrentCommitTagged is true, skip call the IGitPreparer.Prepare method.
Related Issue
Fixes #2927
Motivation and Context
build failed on a CI agent (JENKINS), while it success on a workstation.
How Has This Been Tested?
Tested the Reproduce case in #2927
Screenshots (if appropriate):
Checklist: