Set LatestCommit only for deployment-tools (#18128)

This commit is contained in:
Viktor Hofer 2024-01-08 15:16:00 +01:00 committed by GitHub
parent a190d2aaea
commit b168690609
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 6 deletions

View file

@ -1,10 +1,5 @@
<Project>
<ItemGroup>
<EnvironmentVariables Include="LatestCommit=$(GitCommitHash)" />
<EnvironmentVariables Include="OfficialBuildId=$(OfficialBuildId)" />
</ItemGroup>
<UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="AddSourceToNuGetConfig" />
<UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="ReadNuGetPackageInfos" />
<UsingTask AssemblyFile="$(XPlatSourceBuildTasksAssembly)" TaskName="RemoveInternetSourcesFromNuGetConfig" />

View file

@ -9,5 +9,9 @@
<RepositoryReference Include="runtime" />
</ItemGroup>
<ItemGroup>
<EnvironmentVariables Include="LatestCommit=$(GitCommitHash)" />
</ItemGroup>
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
</Project>