-
-
Notifications
You must be signed in to change notification settings - Fork 179
Ensure GetBuildVersion runs before Clean #1107
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
|
I'm new to the project, so I validated that my new test failed before my change and passes after, and that this fix addresses the linked issue. However, please let me know if I used an incorrect test pattern. Any feedback or suggestions greatly appreciated. Thanks! |
AArnott
left a comment
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.
Looks great. Thank you!
Fixes #1067
This change hooks
GetBuildVersioninto theCleantarget. This is important for scenarios where the build version is part of an output's name, such as when using<GeneratePackageOnBuild>. Otherwise, the build version isn't set and the default version (e.g. 1.0.0) is used, resulting in an incomplete clean.