Skip to content

Commit 80a0f15

Browse files
authored
[release/2.2] Configure 2.2 ProdCon auto-update and update (#671)
* Configure 2.2 ProdCon auto-update * Update ProdCon to 20180725-01-1890599 * Fix dotnet/templating build commands, use CoreOnly * Update 2.1 to 2.2 in smoke-test.sh * Default UseStableVersions to false for smoke-test This matches the RuntimeFrameworkVersion from the prebuilt Microsoft.DotNet.Web.ProjectTemplates.2.2 we get from the ProdCon blob feed. * Disable dotnet/templating SourceLink: no git calls
1 parent 6dfcb6b commit 80a0f15

16 files changed

+34
-22
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/20180726-01/final/index.json
1+
https://dotnetfeed.blob.core.windows.net/orchestrated-release-2-2/20180725-01/final/index.json

dependencies.props

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
for which dotnet/versions commit was last used to update the dependency.
66
-->
77
<PropertyGroup>
8-
<ProdConCurrentRef>0d790d5e60a1f051098b5e066f7f760f2978ab2f</ProdConCurrentRef>
8+
<ProdConCurrentRef>370e36164ef030daf1086ac5ef8a7de8956d5724</ProdConCurrentRef>
99
<CoreClrCurrentRef>293e58e87c0575e7e425a1bab57d5eb0e25d743e</CoreClrCurrentRef>
1010
<BuildToolsCurrentRef>91c9a3b3374ff71e72c06d5773bd26598539aa1d</BuildToolsCurrentRef>
1111
</PropertyGroup>
@@ -28,9 +28,9 @@
2828
the product as version strings to be used by the SDK to fetch extra content.
2929
-->
3030
<PropertyGroup>
31-
<MicrosoftAspNetCoreAllPackageVersion>2.1.3-rtm-30931</MicrosoftAspNetCoreAllPackageVersion>
32-
<MicrosoftAspNetCoreAppPackageVersion>2.1.3-rtm-30931</MicrosoftAspNetCoreAppPackageVersion>
33-
<MicrosoftNETSdkRazorPackageVersion>2.1.2-rtm-30931</MicrosoftNETSdkRazorPackageVersion>
31+
<MicrosoftAspNetCoreAllPackageVersion>2.2.0-preview1-34785</MicrosoftAspNetCoreAllPackageVersion>
32+
<MicrosoftAspNetCoreAppPackageVersion>2.2.0-preview1-34785</MicrosoftAspNetCoreAppPackageVersion>
33+
<MicrosoftNETSdkRazorPackageVersion>2.2.0-preview1-34785</MicrosoftNETSdkRazorPackageVersion>
3434
</PropertyGroup>
3535

3636
<ItemGroup>
@@ -50,7 +50,7 @@
5050

5151
<DependencyInfo Include="ProdCon" Condition="'$(UpdateFromManifestFile)' == ''">
5252
<DependencyType>Orchestrated build</DependencyType>
53-
<BasePath>build-info/dotnet/product/cli/release/2.1</BasePath>
53+
<BasePath>build-info/dotnet/product/cli/release/2.2</BasePath>
5454
<CurrentRef>$(ProdConCurrentRef)</CurrentRef>
5555
<VersionsRepoOwner>dotnet</VersionsRepoOwner>
5656
<VersionsRepo>versions</VersionsRepo>

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>20180726-03</OfficialBuildId>
9+
<OfficialBuildId>20180725-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>20180726-03</OfficialBuildId>
13+
<OfficialBuildId>20180725-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>20180726-04</OfficialBuildId>
10+
<OfficialBuildId>20180725-02</OfficialBuildId>
1111
</PropertyGroup>
1212

1313
<ItemGroup>

repos/dir.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<!-- for RTM only, default to stabilized builds because that's what matches the official builds -->
3939
<!-- once https://github.com/dotnet/source-build/issues/550 is fixed we will be able to determine this automatically -->
4040
<PropertyGroup>
41-
<UseStableVersions Condition="'$(UseStableVersions)' == ''">true</UseStableVersions>
41+
<UseStableVersions Condition="'$(UseStableVersions)' == ''">false</UseStableVersions>
4242
</PropertyGroup>
4343

4444
<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>20180726.2</OfficialBuildId>
5+
<OfficialBuildId>20180725.2</OfficialBuildId>
66
<OutputVersionArgs>/p:BUILD_BUILDNUMBER=$(OfficialBuildId)</OutputVersionArgs>
77
<BuildCommandArgs>--pack --configuration $(Configuration) $(OutputVersionArgs)</BuildCommandArgs>
88

repos/templating.proj

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
<PackageDateTime>20170727</PackageDateTime>
88
<PackageBuildQuality>beta2</PackageBuildQuality>
99
<RepoApiImplemented>false</RepoApiImplemented>
10-
<!-- This repo is not currently built in ProdCon -->
11-
<OrchestratedManifestBuildName>N/A</OrchestratedManifestBuildName>
1210
</PropertyGroup>
1311

1412
<ItemGroup>
@@ -18,15 +16,29 @@
1816
<MSBuildProperties Include="BUILD_NUMBER=$(BuildNumber)" />
1917
<MSBuildProperties Include="PackageDateTime=$(PackageDateTime)" />
2018
<MSBuildProperties Include="PackageBuildQuality=$(PackageBuildQuality)" />
19+
<MSBuildProperties Include="PB_SkipTests=true" />
20+
<MSBuildProperties Include="TargetFramework=netcoreapp2.1" />
21+
<MSBuildProperties Include="CoreOnly=true" />
22+
<MSBuildProperties Include="SourceLinkCreate=false" />
2123
</ItemGroup>
2224

2325
<ItemGroup>
2426
<RepositoryReference Include="clicommandlineparser" />
2527
</ItemGroup>
28+
2629
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))/dir.targets" />
2730

2831
<Target Name="RepoBuild">
29-
<Exec Command="$(DotnetToolCommand) msbuild /t:Build @(MSBuildProperties->'/p:%(Identity)', ' ') $(ProjectDirectory)/build.proj $(RedirectRepoOutputToLog)"
32+
<PropertyGroup>
33+
<BuildCommandArgs>/t:GetReady /t:Restore /t:Build /t:Pack</BuildCommandArgs>
34+
<BuildCommandArgs>$(BuildCommandArgs) /bl</BuildCommandArgs>
35+
<BuildCommandArgs>$(BuildCommandArgs) @(MSBuildProperties->'/p:%(Identity)', ' ')</BuildCommandArgs>
36+
<BuildCommandArgs>$(BuildCommandArgs) $(ProjectDirectory)build/CoreBuild.proj</BuildCommandArgs>
37+
<BuildCommandArgs>$(BuildCommandArgs) $(RedirectRepoOutputToLog)</BuildCommandArgs>
38+
</PropertyGroup>
39+
40+
<Exec Command="$(DotnetToolCommand) msbuild $(BuildCommandArgs)"
41+
WorkingDirectory="$(ProjectDirectory)"
3042
EnvironmentVariables="@(EnvironmentVariables)" />
3143

3244
<!-- The templates are built to a different folder than the packages, copy them into the packages folder. -->

smoke-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -euo pipefail
33

44
SCRIPT_ROOT="$(cd -P "$( dirname "$0" )" && pwd)"
55
TARBALL_PREFIX=dotnet-sdk-
6-
VERSION_PREFIX=2.1
6+
VERSION_PREFIX=2.2
77
DEV_CERTS_VERSION_DEFAULT=2.1.0
88

99
projectOutput=false

src/cli

Submodule cli updated 121 files

0 commit comments

Comments
 (0)