Skip to content

Commit 9465655

Browse files
authored
Revert "Use the VMR commit hash in .version (#54461)" (#54619)
This reverts commit 818d0e3. Over at dotnet/installer#18941, we decied that we wanted to go in a different (and simpler!) direction. We will make sure `SourceRevisionId` is defined/used correctly everywhere.
1 parent 8f9f2ed commit 9465655

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Framework/App.Runtime/src/Microsoft.AspNetCore.App.Runtime.csproj

+1-2
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,7 @@ This package is an internal implementation of the .NET Core SDK and is not meant
311311
Overwrite="true" />
312312

313313
<ItemGroup>
314-
<VersionLines Include="$(DotNetGitCommitHash)" Condition="'$(DotNetGitCommitHash)' != ''" />
315-
<VersionLines Include="$(SourceRevisionId)" Condition="'$(DotNetGitCommitHash)' == ''" />
314+
<VersionLines Include="$(SourceRevisionId)" />
316315
<VersionLines Include="$(SharedFxVersion)" />
317316
</ItemGroup>
318317

0 commit comments

Comments
 (0)