improve format of productCommits file
This commit is contained in:
parent
f9f6747b9f
commit
cf82ef92e5
1 changed files with 13 additions and 6 deletions
|
@ -45,15 +45,22 @@
|
|||
</GetDependencyInfo>
|
||||
|
||||
<!-- Format for productCommits-%rid%.txt:
|
||||
installer:%commit%, %version%
|
||||
runtime:%commit%, %version%
|
||||
aspnetcore:%commit%, %version%
|
||||
windowsdesktop:%commit%, %version%
|
||||
sdk:%commit%, %version%
|
||||
installer_commit="%commit%" installer_version="%version%"
|
||||
runtime_commit="%commit%" runtime_version="%version%"
|
||||
aspnetcore_commit="%commit%" aspnetcore_version="%version%"
|
||||
windowsdesktop_commit="%commit%' windowsdesktop_commit="%version%"
|
||||
sdk_commit="%commit%" sdk_version="%version%"
|
||||
-->
|
||||
<ItemGroup>
|
||||
<Line Include="installer" Version="$(PackageVersion)" Commit="$(BUILD_SOURCEVERSION)" />
|
||||
<Line Include="runtime" Version="$(DepRuntimeVersion)" Commit="$(DepRuntimeCommit)" />
|
||||
<Line Include="aspnetcore" Version="$(DepAspNetCoreVersion)" Commit="$(DepAspNetCoreCommit)" />
|
||||
<Line Include="windowsdesktop" Version="$(DepWindowsDesktopVersion)" Commit="$(DepWindowsDesktopCommit)" />
|
||||
<Line Include="sdk" Version="$(DepDotNetSdkVersion)" Commit="$(DepDotNetSdkCommit)" />
|
||||
</ItemGroup>
|
||||
<WriteLinesToFile
|
||||
File="$(ArtifactsShippingPackagesDir)productCommit-$(Rid).txt"
|
||||
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"
|
||||
Lines="@(Line->'%(Identity)_commit="%(Commit)" %(Identity)_version="%(Version)"', '%0A')"
|
||||
Overwrite="true"
|
||||
Encoding="ASCII"/>
|
||||
|
||||
|
|
Loading…
Reference in a new issue