Skip to content

Commit ddbbb82

Browse files
authored
fix: avoid duplicate commit ID in file version (#1225)
Currently the Commit SHA is added twice in the file version. Set `IncludeSourceRevisionInInformationalVersion` to false, to avoid the automatic suffix and only use the explicit one in the pipeline.
1 parent 19aeed3 commit ddbbb82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
<GenerateDocumentationFile>true</GenerateDocumentationFile>
2525
<IncludeSymbols>true</IncludeSymbols>
2626
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
27+
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
2728
</PropertyGroup>
2829
<ItemGroup>
2930
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath=""/>

0 commit comments

Comments
 (0)