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

Update GitVersionTask.targets #2399

Merged
merged 1 commit into from
Sep 3, 2020
Merged

Update GitVersionTask.targets #2399

merged 1 commit into from
Sep 3, 2020

Conversation

owns
Copy link
Contributor

@owns owns commented Sep 3, 2020

Added GitVersion_EscapedBranchName

Description

Output EscapedBranchName from the GetVersion task to a new property GitVersion_EscapedBranchName.

Related Issue

Fixes #2398.

Motivation and Context

New property #2157 added.
It appears the line was just missed in the above pr. The change was made to src/GitVersionTask.MsBuild/Tasks/GetVersion.cs to add the output; exposing the property just wasn't updated in the target.

How Has This Been Tested?

I tested by making the changing on my build machine in the nuget cache (~\.nuget\packages\gitversiontask\5.3.7\build\GitVersionTask.targets).
ReBuilt my project shoulded the new property was created.

Screenshots (if appropriate):

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Added GitVersion_EscapedBranchName
@asbjornu asbjornu merged commit fd290e9 into GitTools:master Sep 3, 2020
@asbjornu
Copy link
Member

asbjornu commented Sep 3, 2020

Thank you for your contributions @owns! 🙏

@owns owns deleted the patch-1 branch September 3, 2020 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GitVersionTask missing output, GitVersion_EscapedBranchName
2 participants