Skip to content

Commit bdee64f

Browse files
authored
Merge pull request #665 from dagood/update-2.1.3
[release/2.1] Update to new 2.1.3 ProdCon build
2 parents 6272f0a + 3b73df2 commit bdee64f

File tree

11 files changed

+46
-19
lines changed

11 files changed

+46
-19
lines changed

ProdConFeed.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://dotnetfeed.blob.core.windows.net/orchestrated-release-2-1/20180720-01/final/index.json
1+
https://dotnetfeed.blob.core.windows.net/orchestrated-release-2-1/20180722-01/final/index.json

dependencies.props

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
for which dotnet/versions commit was last used to update the dependency.
66
-->
77
<PropertyGroup>
8-
<ProdConCurrentRef>249d209ddf374b9fd057e23e1ddd8941aec117ee</ProdConCurrentRef>
9-
<CoreClrCurrentRef>249d209ddf374b9fd057e23e1ddd8941aec117ee</CoreClrCurrentRef>
8+
<ProdConCurrentRef>c6f30484e30cd7db70143b1c46da03c9e5d37547</ProdConCurrentRef>
9+
<CoreClrCurrentRef>c6f30484e30cd7db70143b1c46da03c9e5d37547</CoreClrCurrentRef>
1010
<BuildToolsCurrentRef>91c9a3b3374ff71e72c06d5773bd26598539aa1d</BuildToolsCurrentRef>
1111
</PropertyGroup>
1212

@@ -23,6 +23,16 @@
2323
<ILLinkTasksPackageVersion>0.1.5-preview-1461378</ILLinkTasksPackageVersion>
2424
</PropertyGroup>
2525

26+
<!--
27+
Packages built by ProdCon, but not source-build. These are included as prebuilts, or embedded in
28+
the product as version strings to be used by the SDK to fetch extra content.
29+
-->
30+
<PropertyGroup>
31+
<MicrosoftAspNetCoreAllPackageVersion>2.1.3-rtm-30923</MicrosoftAspNetCoreAllPackageVersion>
32+
<MicrosoftAspNetCoreAppPackageVersion>2.1.3-rtm-30923</MicrosoftAspNetCoreAppPackageVersion>
33+
<MicrosoftNETSdkRazorPackageVersion>2.1.2-rtm-30923</MicrosoftNETSdkRazorPackageVersion>
34+
</PropertyGroup>
35+
2636
<ItemGroup>
2737
<!-- Get ILAsm tool version from CoreCLR. -->
2838
<RemoteDependencyBuildInfo Include="CoreClr">
@@ -40,7 +50,7 @@
4050

4151
<DependencyInfo Include="ProdCon" Condition="'$(UpdateFromManifestFile)' == ''">
4252
<DependencyType>Orchestrated build</DependencyType>
43-
<BasePath>build-info/dotnet/product/cli/release/2.1.3</BasePath>
53+
<BasePath>build-info/dotnet/product/cli/release/2.1</BasePath>
4454
<CurrentRef>$(ProdConCurrentRef)</CurrentRef>
4555
<VersionsRepoOwner>dotnet</VersionsRepoOwner>
4656
<VersionsRepo>versions</VersionsRepo>

dependencies.targets

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,5 +95,20 @@
9595
ReplacementSubstituteOld="$(ProdConBlobFeedReplaceOld)"
9696
ReplacementSubstituteNew="$(ProdConBlobFeedReplaceNew)" />
9797
</ItemGroup>
98+
99+
<!-- Upgrade some package versions that are built only by ProdCon. -->
100+
<ItemGroup>
101+
<PackageUpdatedFromProdCon Include="Microsoft.AspNetCore.All" Element="MicrosoftAspNetCoreAllPackageVersion" />
102+
<PackageUpdatedFromProdCon Include="Microsoft.AspNetCore.App" Element="MicrosoftAspNetCoreAppPackageVersion" />
103+
<PackageUpdatedFromProdCon Include="Microsoft.NET.Sdk.Razor" Element="MicrosoftNETSdkRazorPackageVersion" />
104+
105+
<UpdateStep
106+
Include="ProdCon"
107+
UpdaterType="Orchestrated blob feed package version"
108+
PackageId="@(PackageUpdatedFromProdCon)"
109+
Path="$(MSBuildThisFileDirectory)dependencies.props"
110+
ElementName="%(PackageUpdatedFromProdCon.Element)"
111+
SkipIfNoReplacementFound="true" />
112+
</ItemGroup>
98113
</Target>
99114
</Project>

extract-patches.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
set -euo pipefail
33
IFS=$'\n\t'
44

5+
getIndexedSubmoduleSha() {
6+
(
7+
cd ".."
8+
git ls-tree HEAD "$REPO_NAME" | awk '{print $3}'
9+
)
10+
}
11+
512
SOURCE="${BASH_SOURCE[0]}"
613
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
714
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
@@ -10,9 +17,9 @@ while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symli
1017
done
1118
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
1219

13-
BASE_SHA=$1
1420
REPO_NAME=$(basename $(pwd))
1521
PATCHES_DIR=$DIR/patches/$REPO_NAME
22+
BASE_SHA=${1:-$(getIndexedSubmoduleSha)}
1623

1724
if [ ! -d $PATCHES_DIR ]; then
1825
mkdir -p $PATCHES_DIR

repos/cli.proj

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,9 @@
4545
</PropertyGroup>
4646

4747
<ItemGroup>
48-
<ExtraPackageVersionPropsPackageInfo
49-
Include="
50-
Microsoft.AspNetCore.All;
51-
Microsoft.AspNetCore.App"
52-
Version="2.1.3" />
53-
<ExtraPackageVersionPropsPackageInfo
54-
Include="Microsoft.NET.Sdk.Razor"
55-
Version="2.1.2" />
48+
<ExtraPackageVersionPropsPackageInfo Include="Microsoft.AspNetCore.All" Version="$(MicrosoftAspNetCoreAllPackageVersion)" />
49+
<ExtraPackageVersionPropsPackageInfo Include="Microsoft.AspNetCore.App" Version="$(MicrosoftAspNetCoreAppPackageVersion)" />
50+
<ExtraPackageVersionPropsPackageInfo Include="Microsoft.NET.Sdk.Razor" Version="$(MicrosoftNETSdkRazorPackageVersion)" />
5651
</ItemGroup>
5752

5853
<ItemGroup>

repos/core-setup.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<BuildArguments Condition="$(Platform.Contains('arm'))">$(BuildArguments) -TargetArchitecture=$(Platform) -DisableCrossgen=true -CrossBuild=true</BuildArguments>
77
<BuildCommand>$(ProjectDirectory)/build$(ShellExtension) $(BuildArguments) -- /p:BuildDebPackage=false /p:BuildAllPackages=true</BuildCommand>
88
<BuildCommand Condition="$(Platform.Contains('arm'))">$(ArmEnvironmentVariables) $(BuildCommand)</BuildCommand>
9-
<OfficialBuildId>20180720-04</OfficialBuildId>
9+
<OfficialBuildId>20180722-02</OfficialBuildId>
1010

1111
<!-- Need to set $(PackagesOutput) so WriteVersions writes the versions file for cli, until cli respects auto-dependency flow -->
1212
<PackagesOutput>$(SourceBuiltPackagesPath)</PackagesOutput>

repos/coreclr.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<BuildCommand>$(ProjectDirectory)/build$(ShellExtension) $(BuildArguments) --</BuildCommand>
1111
<BuildCommand Condition="$(Platform.Contains('arm'))">$(ArmEnvironmentVariables) $(BuildCommand)</BuildCommand>
1212
<CleanCommand>$(ProjectDirectory)/clean$(ShellExtension)</CleanCommand>
13-
<OfficialBuildId>20180720-02</OfficialBuildId>
13+
<OfficialBuildId>20180722-03</OfficialBuildId>
1414
</PropertyGroup>
1515

1616
<ItemGroup>

repos/corefx.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<BuildCommand Condition="$(Platform.Contains('arm'))">$(ArmEnvironmentVariables) $(BuildCommand)</BuildCommand>
88
<PackagesOutput>$(ProjectDirectory)/bin/packages/$(Configuration)</PackagesOutput>
99
<CleanCommand>$(ProjectDirectory)/clean$(ShellExtension)</CleanCommand>
10-
<OfficialBuildId>20180720-08</OfficialBuildId>
10+
<OfficialBuildId>20180722-02</OfficialBuildId>
1111
</PropertyGroup>
1212

1313
<ItemGroup>

repos/sdk.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))/dir.props" />
44
<PropertyGroup>
5-
<OfficialBuildId>20180720.2</OfficialBuildId>
5+
<OfficialBuildId>20180722.2</OfficialBuildId>
66
<OutputVersionArgs>/p:BUILD_BUILDNUMBER=$(OfficialBuildId)</OutputVersionArgs>
77
<BuildCommandArgs>--pack --configuration $(Configuration) $(OutputVersionArgs)</BuildCommandArgs>
88

src/coreclr

0 commit comments

Comments
 (0)