Skip to content

Commit fd290e9

Browse files
authored
Merge pull request #2399 from owns/patch-1
Update GitVersionTask.targets
2 parents f6bc10b + 47132e7 commit fd290e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/GitVersionTask/build/GitVersionTask.targets

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
<Output TaskParameter="FullSemVer" PropertyName="GitVersion_FullSemVer" />
9292
<Output TaskParameter="InformationalVersion" PropertyName="GitVersion_InformationalVersion" />
9393
<Output TaskParameter="BranchName" PropertyName="GitVersion_BranchName" />
94+
<Output TaskParameter="EscapedBranchName" PropertyName="GitVersion_EscapedBranchName" />
9495
<Output TaskParameter="Sha" PropertyName="GitVersion_Sha" />
9596
<Output TaskParameter="NuGetVersionV2" PropertyName="GitVersion_NuGetVersionV2" />
9697
<Output TaskParameter="NuGetVersion" PropertyName="GitVersion_NuGetVersion" />
@@ -135,6 +136,7 @@
135136
<DefineConstants Condition=" '$(GitVersion_FullSemVer)' != '' ">GitVersion_FullSemVer=$(GitVersion_FullSemVer);$(DefineConstants)</DefineConstants>
136137
<DefineConstants Condition=" '$(GitVersion_InformationalVersion)' != '' ">GitVersion_InformationalVersion=$(GitVersion_InformationalVersion);$(DefineConstants)</DefineConstants>
137138
<DefineConstants Condition=" '$(GitVersion_BranchName)' != '' ">GitVersion_BranchName=$(GitVersion_BranchName);$(DefineConstants)</DefineConstants>
139+
<DefineConstants Condition=" '$(GitVersion_EscapedBranchName)' != '' ">GitVersion_EscapedBranchName=$(GitVersion_EscapedBranchName);$(DefineConstants)</DefineConstants>
138140
<DefineConstants Condition=" '$(GitVersion_Sha)' != '' ">GitVersion_Sha=$(GitVersion_Sha);$(DefineConstants)</DefineConstants>
139141
<DefineConstants Condition=" '$(GitVersion_NuGetVersionV2)' != '' ">GitVersion_NuGetVersionV2=$(GitVersion_NuGetVersionV2);$(DefineConstants)</DefineConstants>
140142
<DefineConstants Condition=" '$(GitVersion_NuGetVersion)' != '' ">GitVersion_NuGetVersion=$(GitVersion_NuGetVersion);$(DefineConstants)</DefineConstants>

0 commit comments

Comments
 (0)