Skip to content

Commit

Permalink
fix: avoid duplicate commit ID in file version (#1225)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vbreuss authored Feb 22, 2025
1 parent 19aeed3 commit ddbbb82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<IncludeSourceRevisionInInformationalVersion>false</IncludeSourceRevisionInInformationalVersion>
</PropertyGroup>
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)README.md" Pack="true" PackagePath=""/>
Expand Down

0 comments on commit ddbbb82

Please sign in to comment.