changes the way it gets the commit version due to issue with tags

This commit is contained in:
Madpeter 2020-10-23 19:58:02 +01:00
parent 473569786b
commit bc413ebdad

View file

@ -6,7 +6,7 @@
<AssemblyMetadataCommand Remove="GitDescription" />
</ItemGroup>
<PropertyGroup>
<MSBuildGitHashCommand>git describe --long --always</MSBuildGitHashCommand>
<MSBuildGitHashCommand>git rev-parse --short HEAD</MSBuildGitHashCommand>
<MSBuildGitHashValidate>False</MSBuildGitHashValidate>
<MSBuildGitHashSuppressDirtyWarning>False</MSBuildGitHashSuppressDirtyWarning>
</PropertyGroup>