Extend productCommit-rid.txt

Extend the changes from #13132 to include the versions of the ASP.NET Core shared runtime, Windows Desktop and the .NET SDK itself.
This commit is contained in:
martin-costello 2022-04-21 16:13:56 +01:00
parent d6761319d0
commit a3e8652e50

View file

@ -23,13 +23,37 @@
<Output TaskParameter="DependencyCommit" PropertyName="DepRuntimeCommit" />
</GetDependencyInfo>
<GetDependencyInfo
VersionDetailsXmlFile="$(RepoRoot)eng/Version.Details.xml"
DependencyName="Microsoft.AspNetCore.App.Ref">
<Output TaskParameter="DependencyVersion" PropertyName="DepAspNetCoreVersion" />
<Output TaskParameter="DependencyCommit" PropertyName="DepAspNetCoreCommit" />
</GetDependencyInfo>
<GetDependencyInfo
VersionDetailsXmlFile="$(RepoRoot)eng/Version.Details.xml"
DependencyName="Microsoft.WindowsDesktop.App.Ref">
<Output TaskParameter="DependencyVersion" PropertyName="DepWindowsDesktopVersion" />
<Output TaskParameter="DependencyCommit" PropertyName="DepWindowsDesktopCommit" />
</GetDependencyInfo>
<GetDependencyInfo
VersionDetailsXmlFile="$(RepoRoot)eng/Version.Details.xml"
DependencyName="Microsoft.NET.Sdk">
<Output TaskParameter="DependencyVersion" PropertyName="DepDotNetSdkVersion" />
<Output TaskParameter="DependencyCommit" PropertyName="DepDotNetSdCommit" />
</GetDependencyInfo>
<!-- Format for productCommits-%rid%.txt:
installer:%commit%, %version
runtime:%commit%, $version
aspnetcore:%commit%, $version
windowsdesktop:%commit%, $version
sdk:%commit%, $version
-->
<WriteLinesToFile
File="$(ArtifactsShippingPackagesDir)productCommit-$(Rid).txt"
Lines="installer%3A$(BUILD_SOURCEVERSION)%2C%20$(PackageVersion)%0Aruntime%3A$(DepRuntimeCommit)%2C%20$(DepRuntimeVersion)%0A"
Lines="installer%3A$(BUILD_SOURCEVERSION)%2C%20$(PackageVersion)%0Aruntime%3A$(DepRuntimeCommit)%2C%20$(DepRuntimeVersion)%0Aaspnetcore%3A$(DepAspNetCoreCommit)%2C%20$(DepAspNetCoreVersion)%0Awindowsdesktop%3A$(DepWindowsDesktopCommit)%2C%20$(DepWindowsDesktopVersion)%0Asdk%3A$(DepDotNetSdkCommit)%2C%20$(DepDotNetSdkVersion)%0A"
Overwrite="true"
Encoding="ASCII"/>