Reverse the order in which old runtime stores are listed

This commit is contained in:
Nate McMaster 2018-03-30 16:20:38 -07:00
parent c5f3e09520
commit c20f79e8e3
No known key found for this signature in database
GPG key ID: A778D9601BD78810
3 changed files with 23 additions and 7 deletions

View file

@ -63,9 +63,6 @@
AspNetCoreRelease is only used if the value of this property is "timestamped" -->
<AspNetCoreRuntimePackageFlavor>notimestamp</AspNetCoreRuntimePackageFlavor>
<!-- The runtime store requires us to link each previously released version. Each time we update ASP.NET Core, add the previous verison to this list -->
<PreviousAspNetCoreRuntimeStoreVersions>2.0.0;2.0.3;2.0.5;2.0.6</PreviousAspNetCoreRuntimeStoreVersions>
<!--BranchName and AspNetCoreVersion will not always be the same-->
<AspNetCoreBranchName>2.0.7</AspNetCoreBranchName>
<AspNetCoreRelease>rtm</AspNetCoreRelease>
@ -80,8 +77,15 @@
</PropertyGroup>
<ItemGroup>
<AspNetCoreRuntimeStoreVersion Include="$(PreviousAspNetCoreRuntimeStoreVersions)" />
<!--
The runtime store requires us to link each previously released version. Each time we update ASP.NET Core, add the previous verison to this list.
This list should be sorted most recent version to oldest.
-->
<AspNetCoreRuntimeStoreVersion Include="$(CurrentAspNetCoreRuntimeVersion)" />
<AspNetCoreRuntimeStoreVersion Include="2.0.6" />
<AspNetCoreRuntimeStoreVersion Include="2.0.5" />
<AspNetCoreRuntimeStoreVersion Include="2.0.3" />
<AspNetCoreRuntimeStoreVersion Include="2.0.0" />
</ItemGroup>
<!-- infrastructure and test only dependencies -->

View file

@ -21,11 +21,15 @@
Inputs="@(CLISdkFiles)"
Outputs="$(SdkInstallerFile)" >
<ItemGroup>
<AspNetCoreDebInstallerFileReversed Include="@(AspNetCoreDebInstallerFile->Reverse())" />
</ItemGroup>
<!-- Install Shared Framework Packages -->
<Exec Command="sudo dpkg -i $(DownloadedSharedHostInstallerFile)" />
<Exec Command="sudo dpkg -i $(DownloadedHostFxrInstallerFile)" />
<Exec Command="sudo dpkg -i $(DownloadedSharedFrameworkInstallerFile)" />
<Exec Command="sudo dpkg -i %(AspNetCoreDebInstallerFile.Identity)" />
<Exec Command="sudo dpkg -i %(AspNetCoreDebInstallerFileReversed.Identity)" />
<!-- Create layout: Binaries -->
<Copy
@ -104,11 +108,15 @@
$(SdkInstallerFile);"
Outputs="$(DebianTestResultsXmlFile)" >
<ItemGroup>
<AspNetCoreDebInstallerFileReversed Include="@(AspNetCoreDebInstallerFile->Reverse())" />
</ItemGroup>
<!-- Install Dependencies and SDK Packages -->
<Exec Command="sudo dpkg -i $(DownloadedSharedHostInstallerFile)" />
<Exec Command="sudo dpkg -i $(DownloadedHostFxrInstallerFile)" />
<Exec Command="sudo dpkg -i $(DownloadedSharedFrameworkInstallerFile)" />
<Exec Command="sudo dpkg -i %(AspNetCoreDebInstallerFile.Identity)" />
<Exec Command="sudo dpkg -i %(AspNetCoreDebInstallerFileReversed.Identity)" />
<Exec Command="sudo dpkg -i $(SdkInstallerFile)" />

View file

@ -221,11 +221,15 @@
$(RpmTestResultsXmlFile);"
Outputs="$(RpmTestResultsXmlFile)" >
<ItemGroup>
<AspNetCoreRpmInstallerFileReversed Include="@(AspNetCoreRpmInstallerFile->Reverse())" />
</ItemGroup>
<!-- Install Dependencies and SDK Packages -->
<Exec Command="sudo yum -y install $(DownloadedSharedHostInstallerFile)" />
<Exec Command="sudo yum -y install $(DownloadedHostFxrInstallerFile)" />
<Exec Command="sudo yum -y install $(DownloadedSharedFrameworkInstallerFile)" />
<Exec Command="sudo yum -y install %(AspNetCoreRpmInstallerFile.Identity)" />
<Exec Command="sudo yum -y install %(AspNetCoreRpmInstallerFileReversed.Identity)" />
<Exec Command="sudo yum -y install $(SdkInstallerFile)" />