Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit c20f79e

Browse files
author
Nate McMaster
committed
Reverse the order in which old runtime stores are listed
1 parent c5f3e09 commit c20f79e

File tree

3 files changed

+23
-7
lines changed

3 files changed

+23
-7
lines changed

build/DependencyVersions.props

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,6 @@
6363
AspNetCoreRelease is only used if the value of this property is "timestamped" -->
6464
<AspNetCoreRuntimePackageFlavor>notimestamp</AspNetCoreRuntimePackageFlavor>
6565

66-
<!-- 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 -->
67-
<PreviousAspNetCoreRuntimeStoreVersions>2.0.0;2.0.3;2.0.5;2.0.6</PreviousAspNetCoreRuntimeStoreVersions>
68-
6966
<!--BranchName and AspNetCoreVersion will not always be the same-->
7067
<AspNetCoreBranchName>2.0.7</AspNetCoreBranchName>
7168
<AspNetCoreRelease>rtm</AspNetCoreRelease>
@@ -80,8 +77,15 @@
8077
</PropertyGroup>
8178

8279
<ItemGroup>
83-
<AspNetCoreRuntimeStoreVersion Include="$(PreviousAspNetCoreRuntimeStoreVersions)" />
80+
<!--
81+
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.
82+
This list should be sorted most recent version to oldest.
83+
-->
8484
<AspNetCoreRuntimeStoreVersion Include="$(CurrentAspNetCoreRuntimeVersion)" />
85+
<AspNetCoreRuntimeStoreVersion Include="2.0.6" />
86+
<AspNetCoreRuntimeStoreVersion Include="2.0.5" />
87+
<AspNetCoreRuntimeStoreVersion Include="2.0.3" />
88+
<AspNetCoreRuntimeStoreVersion Include="2.0.0" />
8589
</ItemGroup>
8690

8791
<!-- infrastructure and test only dependencies -->

build/package/Installer.DEB.proj

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,15 @@
2121
Inputs="@(CLISdkFiles)"
2222
Outputs="$(SdkInstallerFile)" >
2323

24+
<ItemGroup>
25+
<AspNetCoreDebInstallerFileReversed Include="@(AspNetCoreDebInstallerFile->Reverse())" />
26+
</ItemGroup>
27+
2428
<!-- Install Shared Framework Packages -->
2529
<Exec Command="sudo dpkg -i $(DownloadedSharedHostInstallerFile)" />
2630
<Exec Command="sudo dpkg -i $(DownloadedHostFxrInstallerFile)" />
2731
<Exec Command="sudo dpkg -i $(DownloadedSharedFrameworkInstallerFile)" />
28-
<Exec Command="sudo dpkg -i %(AspNetCoreDebInstallerFile.Identity)" />
32+
<Exec Command="sudo dpkg -i %(AspNetCoreDebInstallerFileReversed.Identity)" />
2933

3034
<!-- Create layout: Binaries -->
3135
<Copy
@@ -104,11 +108,15 @@
104108
$(SdkInstallerFile);"
105109
Outputs="$(DebianTestResultsXmlFile)" >
106110

111+
<ItemGroup>
112+
<AspNetCoreDebInstallerFileReversed Include="@(AspNetCoreDebInstallerFile->Reverse())" />
113+
</ItemGroup>
114+
107115
<!-- Install Dependencies and SDK Packages -->
108116
<Exec Command="sudo dpkg -i $(DownloadedSharedHostInstallerFile)" />
109117
<Exec Command="sudo dpkg -i $(DownloadedHostFxrInstallerFile)" />
110118
<Exec Command="sudo dpkg -i $(DownloadedSharedFrameworkInstallerFile)" />
111-
<Exec Command="sudo dpkg -i %(AspNetCoreDebInstallerFile.Identity)" />
119+
<Exec Command="sudo dpkg -i %(AspNetCoreDebInstallerFileReversed.Identity)" />
112120

113121
<Exec Command="sudo dpkg -i $(SdkInstallerFile)" />
114122

build/package/Installer.RPM.targets

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,11 +221,15 @@
221221
$(RpmTestResultsXmlFile);"
222222
Outputs="$(RpmTestResultsXmlFile)" >
223223

224+
<ItemGroup>
225+
<AspNetCoreRpmInstallerFileReversed Include="@(AspNetCoreRpmInstallerFile->Reverse())" />
226+
</ItemGroup>
227+
224228
<!-- Install Dependencies and SDK Packages -->
225229
<Exec Command="sudo yum -y install $(DownloadedSharedHostInstallerFile)" />
226230
<Exec Command="sudo yum -y install $(DownloadedHostFxrInstallerFile)" />
227231
<Exec Command="sudo yum -y install $(DownloadedSharedFrameworkInstallerFile)" />
228-
<Exec Command="sudo yum -y install %(AspNetCoreRpmInstallerFile.Identity)" />
232+
<Exec Command="sudo yum -y install %(AspNetCoreRpmInstallerFileReversed.Identity)" />
229233

230234
<Exec Command="sudo yum -y install $(SdkInstallerFile)" />
231235

0 commit comments

Comments
 (0)