Skip to content

Commit 283338e

Browse files
author
Jason Zhai
committed
Merge branch 'release/6.0.4xx' of https://github.com/dotnet/sdk into merge/release/6.0.1xx-to-release/6.0.4xx
2 parents bdb19eb + c2a59ab commit 283338e

File tree

874 files changed

+36378
-7651
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

874 files changed

+36378
-7651
lines changed

.vsts-ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,15 +165,18 @@ extends:
165165
image: 1es-ubuntu-2004
166166
os: linux
167167
${{ if eq(variables['System.TeamProject'], 'public') }}:
168-
helixTargetQueue: Ubuntu.1804.Amd64.Open
168+
helixTargetQueue: Ubuntu.2004.Amd64.Open
169169
${{ if ne(variables['System.TeamProject'], 'public') }}:
170-
helixTargetQueue: Ubuntu.1804.Amd64
170+
helixTargetQueue: Ubuntu.2004.Amd64
171171
variables:
172172
- name: _BuildConfig
173173
value: Release
174174
- name: _PublishArgs
175175
value: ''
176176
- name: _SignType
177+
value: test
178+
- name: _Test
179+
value: -test
177180

178181
- template: /eng/build.yml@self
179182
parameters:
@@ -193,6 +196,8 @@ extends:
193196
value: ''
194197
- name: _SignType
195198
value: test
199+
- name: _Test
200+
value: -test
196201

197202
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
198203
- template: /eng/common/templates-official/job/publish-build-assets.yml@self

.vsts-pr.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,20 +126,21 @@ stages:
126126
pool:
127127
${{ if eq(variables['System.TeamProject'], 'public') }}:
128128
name: NetCore-Svc-Public
129-
demands: ImageOverride -equals Build.Ubuntu.2004.Amd64.Open
129+
demands: ImageOverride -equals Build.Ubuntu.2004.Amd64.open
130130
${{ if ne(variables['System.TeamProject'], 'public') }}:
131131
name: NetCore1ESPool-Svc-Internal
132132
demands: ImageOverride -equals Build.Ubuntu.2004.Amd64
133133
${{ if eq(variables['System.TeamProject'], 'public') }}:
134-
helixTargetQueue: Ubuntu.1804.Amd64.Open
134+
helixTargetQueue: Ubuntu.2004.Amd64.Open
135135
${{ if ne(variables['System.TeamProject'], 'public') }}:
136-
helixTargetQueue: Ubuntu.1804.Amd64
136+
helixTargetQueue: Ubuntu.2004.Amd64
137137
strategy:
138138
matrix:
139139
Build_Release:
140140
_BuildConfig: Release
141141
_PublishArgs: ''
142142
_SignType: test
143+
_Test: -test
143144

144145
- template: /eng/build-pr.yml
145146
parameters:
@@ -156,6 +157,7 @@ stages:
156157
_BuildConfig: Release
157158
_PublishArgs: ''
158159
_SignType: test
160+
_Test: -test
159161

160162
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
161163
- template: /eng/common/templates/job/publish-build-assets.yml

NuGet.config

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,25 @@
77
<add key="darc-int-dotnet-aspnetcore-f0f9de5" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-aspnetcore-f0f9de56/nuget/v3/index.json" />
88
<add key="darc-int-dotnet-aspnetcore-f0f9de5-5" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-aspnetcore-f0f9de56-5/nuget/v3/index.json" />
99
<!-- End: Package sources from dotnet-aspnetcore -->
10-
<!-- Begin: Package sources from dotnet-runtime -->
11-
<add key="darc-int-dotnet-runtime-6c63698" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-runtime-6c636980/nuget/v3/index.json" />
1210
<!-- Begin: Package sources from DotNet-msbuild-Trusted -->
13-
<add key="darc-pub-DotNet-msbuild-Trusted-85d7107" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-DotNet-msbuild-Trusted-85d71072/nuget/v3/index.json" />
11+
<add key="darc-pub-DotNet-msbuild-Trusted-a400405" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/darc-pub-DotNet-msbuild-Trusted-a400405b/nuget/v3/index.json" />
1412
<!-- End: Package sources from DotNet-msbuild-Trusted -->
1513
<!-- Begin: Package sources from dotnet-roslyn-analyzers -->
1614
<!-- End: Package sources from dotnet-roslyn-analyzers -->
15+
<!-- Begin: Package sources from dotnet-runtime -->
16+
<add key="darc-int-dotnet-runtime-6c63698" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-runtime-6c636980/nuget/v3/index.json" />
1717
<!-- End: Package sources from dotnet-runtime -->
1818
<!-- Begin: Package sources from dotnet-templating -->
19-
<add key="darc-int-dotnet-templating-2fdb78d" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-templating-2fdb78d3/nuget/v3/index.json" />
20-
<add key="darc-int-dotnet-templating-2fdb78d-9" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-templating-2fdb78d3-9/nuget/v3/index.json" />
21-
<add key="darc-int-dotnet-templating-2fdb78d-8" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-templating-2fdb78d3-8/nuget/v3/index.json" />
22-
<add key="darc-int-dotnet-templating-2fdb78d-7" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-templating-2fdb78d3-7/nuget/v3/index.json" />
23-
<add key="darc-int-dotnet-templating-2fdb78d-6" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-templating-2fdb78d3-6/nuget/v3/index.json" />
24-
<add key="darc-int-dotnet-templating-2fdb78d-5" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-templating-2fdb78d3-5/nuget/v3/index.json" />
25-
<add key="darc-int-dotnet-templating-2fdb78d-4" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-templating-2fdb78d3-4/nuget/v3/index.json" />
26-
<add key="darc-int-dotnet-templating-2fdb78d-3" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-templating-2fdb78d3-3/nuget/v3/index.json" />
27-
<add key="darc-int-dotnet-templating-2fdb78d-2" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-templating-2fdb78d3-2/nuget/v3/index.json" />
28-
<add key="darc-int-dotnet-templating-2fdb78d-1" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-templating-2fdb78d3-1/nuget/v3/index.json" />
19+
<add key="darc-int-dotnet-templating-8413a0d" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-templating-8413a0df/nuget/v3/index.json" />
20+
<add key="darc-int-dotnet-templating-8413a0d-9" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-templating-8413a0df-9/nuget/v3/index.json" />
21+
<add key="darc-int-dotnet-templating-8413a0d-8" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-templating-8413a0df-8/nuget/v3/index.json" />
22+
<add key="darc-int-dotnet-templating-8413a0d-7" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-templating-8413a0df-7/nuget/v3/index.json" />
23+
<add key="darc-int-dotnet-templating-8413a0d-6" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-templating-8413a0df-6/nuget/v3/index.json" />
24+
<add key="darc-int-dotnet-templating-8413a0d-5" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-templating-8413a0df-5/nuget/v3/index.json" />
25+
<add key="darc-int-dotnet-templating-8413a0d-4" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-templating-8413a0df-4/nuget/v3/index.json" />
26+
<add key="darc-int-dotnet-templating-8413a0d-3" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-templating-8413a0df-3/nuget/v3/index.json" />
27+
<add key="darc-int-dotnet-templating-8413a0d-2" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-templating-8413a0df-2/nuget/v3/index.json" />
28+
<add key="darc-int-dotnet-templating-8413a0d-1" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-templating-8413a0df-1/nuget/v3/index.json" />
2929
<!-- End: Package sources from dotnet-templating -->
3030
<!-- Begin: Package sources from dotnet-windowsdesktop -->
3131
<add key="darc-int-dotnet-windowsdesktop-db4e5a3" value="https://pkgs.dev.azure.com/dnceng/internal/_packaging/darc-int-dotnet-windowsdesktop-db4e5a36/nuget/v3/index.json" />
@@ -47,33 +47,34 @@
4747
<add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
4848
<add key="dotnet-tools-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools-transport/nuget/v3/index.json" />
4949
<add key="dotnet-libraries" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries/nuget/v3/index.json" />
50+
<add key="dotnet-libraries-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries-transport/nuget/v3/index.json" />
5051
<add key="vs-impl" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vs-impl/nuget/v3/index.json" />
5152
<!-- Used for Rich Navigation indexing task -->
5253
<add key="richnav" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vs-buildservices/nuget/v3/index.json" />
5354
</packageSources>
5455
<disabledPackageSources>
5556
<!--Begin: Package sources managed by Dependency Flow automation. Do not edit the sources below.-->
57+
<!-- Begin: Package sources from DotNet-msbuild-Trusted -->
58+
<!-- End: Package sources from DotNet-msbuild-Trusted -->
59+
<!-- Begin: Package sources from dotnet-templating -->
60+
<add key="darc-int-dotnet-templating-8413a0d-1" value="true" />
61+
<add key="darc-int-dotnet-templating-8413a0d-2" value="true" />
62+
<add key="darc-int-dotnet-templating-8413a0d-3" value="true" />
63+
<add key="darc-int-dotnet-templating-8413a0d-4" value="true" />
64+
<add key="darc-int-dotnet-templating-8413a0d-5" value="true" />
65+
<add key="darc-int-dotnet-templating-8413a0d-6" value="true" />
66+
<add key="darc-int-dotnet-templating-8413a0d-7" value="true" />
67+
<add key="darc-int-dotnet-templating-8413a0d-8" value="true" />
68+
<add key="darc-int-dotnet-templating-8413a0d-9" value="true" />
69+
<add key="darc-int-dotnet-templating-8413a0d" value="true" />
70+
<!-- End: Package sources from dotnet-templating -->
5671
<!-- Begin: Package sources from dotnet-aspnetcore -->
5772
<add key="darc-int-dotnet-aspnetcore-f0f9de5-5" value="true" />
5873
<add key="darc-int-dotnet-aspnetcore-f0f9de5" value="true" />
5974
<!-- End: Package sources from dotnet-aspnetcore -->
60-
<!-- Begin: Package sources from DotNet-msbuild-Trusted -->
61-
<!-- End: Package sources from DotNet-msbuild-Trusted -->
6275
<!-- Begin: Package sources from dotnet-runtime -->
6376
<add key="darc-int-dotnet-runtime-6c63698" value="true" />
6477
<!-- End: Package sources from dotnet-runtime -->
65-
<!-- Begin: Package sources from dotnet-templating -->
66-
<add key="darc-int-dotnet-templating-2fdb78d-1" value="true" />
67-
<add key="darc-int-dotnet-templating-2fdb78d-2" value="true" />
68-
<add key="darc-int-dotnet-templating-2fdb78d-3" value="true" />
69-
<add key="darc-int-dotnet-templating-2fdb78d-4" value="true" />
70-
<add key="darc-int-dotnet-templating-2fdb78d-5" value="true" />
71-
<add key="darc-int-dotnet-templating-2fdb78d-6" value="true" />
72-
<add key="darc-int-dotnet-templating-2fdb78d-7" value="true" />
73-
<add key="darc-int-dotnet-templating-2fdb78d-8" value="true" />
74-
<add key="darc-int-dotnet-templating-2fdb78d-9" value="true" />
75-
<add key="darc-int-dotnet-templating-2fdb78d" value="true" />
76-
<!-- End: Package sources from dotnet-templating -->
7778
<!-- Begin: Package sources from dotnet-windowsdesktop -->
7879
<add key="darc-int-dotnet-windowsdesktop-db4e5a3-1" value="true" />
7980
<add key="darc-int-dotnet-windowsdesktop-db4e5a3-2" value="true" />
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"RetryCountLimit":1,
2+
"RetryCountLimit":0,
33
"RetryByPipeline":{
44
"RetryStages":[
55
{
66
"StageName":"build"
77
}
88
]
99
}
10-
}
10+
}

eng/Publishing.props

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,26 @@
5959
</CreateProperty>
6060
</Target>
6161

62+
<!-- FSharp needs to push different packages to nuget.org depending on whether the SDK is preview or not,
63+
To achieve this, we find the FSharp compiler package, then the stable or non-stable FSharp.Core and Compiler service
64+
package contained within, depending on the stability switch of the SDK. The SDK then treats these packages as its own outputs,
65+
whch means they get automatically pushed on release day. -->
66+
<PropertyGroup>
67+
<PublishDependsOnTargets>$(PublishDependsOnTargets);_ResolvePublishFSharpNuGetPackages</PublishDependsOnTargets>
68+
</PropertyGroup>
69+
70+
<Target Name="_ResolvePublishFSharpNuGetPackages">
71+
<PropertyGroup>
72+
<FSharpCorePath Condition="'$(DotNetFinalVersionKind)'!='release'">Shipping</FSharpCorePath>
73+
<FSharpCorePath Condition="'$(DotNetFinalVersionKind)'=='release'">Release</FSharpCorePath>
74+
</PropertyGroup>
75+
<ItemGroup>
76+
<FSharpPackagesToPush Include="$(NuGetPackageRoot)\Microsoft.FSharp.Compiler\$(MicrosoftFSharpCompilerPackageVersion)\contentFiles\$(FSharpCorePath)\FSharp.Core.*.nupkg"/>
77+
<FSharpPackagesToPush Include="$(NuGetPackageRoot)\Microsoft.FSharp.Compiler\$(MicrosoftFSharpCompilerPackageVersion)\contentFiles\$(FSharpCorePath)\FSharp.Compiler.Service.*.nupkg" />
78+
<ItemsToPushToBlobFeed Include="@(FSharpPackagesToPush)" />
79+
</ItemGroup>
80+
</Target>
81+
6282
<!-- We use a separate target to publish this to blob storage so that we can push this to
6383
a relative path inside the blob storage. -->
6484
<Target Name="PublishToolsetAssets" DependsOnTargets="ReadToolsetVersion" BeforeTargets="Publish">
@@ -73,6 +93,12 @@
7393
<ItemsToSignPostBuild Remove="@(ItemsToSignPostBuild)" />
7494
<ItemsToSignPostBuild Include="@(ToolsetAssetsToPublish->'%(Filename)%(Extension)')" />
7595
</ItemGroup>
96+
97+
<PropertyGroup>
98+
<IsStableBuild>false</IsStableBuild>
99+
<IsStableBuild Condition="'$(DotNetFinalVersionKind)' == 'release'">true</IsStableBuild>
100+
</PropertyGroup>
101+
76102

77103
<MakeDir Directories="$(TempWorkingDirectory)"/>
78104

@@ -94,7 +120,8 @@
94120
PublishFlatContainer="true"
95121
AssetManifestPath="$(SdkAssetsManifestFilePath)"
96122
AssetsTemporaryDirectory="$(TempWorkingDirectory)"
97-
PublishingVersion="3"/>
123+
PublishingVersion="3"
124+
IsStableBuild="$(IsStableBuild)" />
98125

99126
<Copy
100127
SourceFiles="$(SdkAssetsManifestFilePath)"

0 commit comments

Comments
 (0)