Skip to content

Commit

Permalink
Set MSBuildGitHashReplaceInfoVersion only is not already set
Browse files Browse the repository at this point in the history
This allows this property to be set via the command line
  • Loading branch information
brent-zeiss committed Feb 6, 2020
1 parent 63f7109 commit 192aef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MSBuildGitHash/build/MSBuildGitHash.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<MSBuildGitHashValidate>True</MSBuildGitHashValidate>
<MSBuildGitHashValidateLength>32</MSBuildGitHashValidateLength>
<MSBuildGitHashValidateRegex>^[0-9A-Fa-f]{4,32}(-dirty|-broken)%3F%24</MSBuildGitHashValidateRegex>
<MSBuildGitHashReplaceInfoVersion>False</MSBuildGitHashReplaceInfoVersion>
<MSBuildGitHashReplaceInfoVersion Condition="'$(MSBuildGitHashReplaceInfoVersion)' == ''">False</MSBuildGitHashReplaceInfoVersion>
</PropertyGroup>
</Project>

0 comments on commit 192aef5

Please sign in to comment.