Skip to content

Commit 6be9954

Browse files
authored
[automated] Merge branch 'vs17.11' => 'vs17.12' (#12487)
2 parents f1c1d39 + ea52aed commit 6be9954

File tree

5 files changed

+26
-7
lines changed

5 files changed

+26
-7
lines changed

.vsts-dotnet.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ trigger:
66
# Once they exist, we should define these as "runtime parameters"
77
# https://github.com/Microsoft/azure-pipelines-yaml/pull/129
88
# variables:
9-
# SignType: real
109
# SkipApplyOptimizationData: false
1110

1211
parameters:
@@ -22,6 +21,10 @@ parameters:
2221
displayName: Enable Signing Validation
2322
type: boolean
2423
default: true
24+
- name: signTypeParameter
25+
displayName: Sign Type
26+
type: string
27+
default: 'real'
2528

2629
variables:
2730
# if OptProfDrop is not set, string '$(OptProfDrop)' will be passed to the build script.
@@ -120,6 +123,7 @@ extends:
120123
parameters:
121124
isExperimental: false
122125
enableComponentGovernance: true
126+
signTypeParameter: ${{ parameters.signTypeParameter }}
123127
enableOptProf: ${{ parameters.enableOptProf }}
124128

125129
- template: /eng/common/templates-official/post-build/post-build.yml@self

azure-pipelines/.vsts-dotnet-build-jobs.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ parameters:
66
- name: enableComponentGovernance
77
type: boolean
88
default: false
9+
- name: signTypeParameter
10+
type: string
11+
default: 'test'
912
- name: enableOptProf
1013
type: boolean
1114
default: false
@@ -45,6 +48,7 @@ jobs:
4548
env:
4649
Token: $(dn-bot-dnceng-artifact-feeds-rw)
4750

51+
4852
- task: NuGetCommand@2
4953
displayName: Restore internal tools
5054
inputs:
@@ -57,14 +61,14 @@ jobs:
5761
- task: MicroBuildSigningPlugin@4
5862
displayName: Install MicroBuild plugin
5963
inputs:
60-
signType: $(SignType)
64+
signType: ${{ parameters.signTypeParameter }}
6165
zipSources: false
6266
feedSource: https://devdiv.pkgs.visualstudio.com/_packaging/MicroBuildToolset/nuget/v3/index.json
63-
${{ if and(eq(variables['SignType'], 'real'), eq(variables['System.TeamProject'], 'DevDiv')) }}:
67+
${{ if and(eq(parameters.signTypeParameter, 'real'), eq(variables['System.TeamProject'], 'DevDiv')) }}:
6468
ConnectedPMEServiceName: 6cc74545-d7b9-4050-9dfa-ebefcc8961ea
6569
env:
6670
SYSTEM_ACCESSTOKEN: $(System.AccessToken)
67-
condition: and(succeeded(), in(variables['SignType'], 'test', 'real'))
71+
condition: and(succeeded(), in('${{ parameters.signTypeParameter }}', 'test', 'real'))
6872

6973
- task: MicroBuildOptProfPlugin@6
7074
inputs:
@@ -88,12 +92,14 @@ jobs:
8892
/p:VisualStudioIbcSourceBranchName=$(SourceBranch)
8993
/p:VisualStudioDropAccessToken=$(System.AccessToken)
9094
/p:VisualStudioDropName=$(VisualStudio.DropName)
91-
/p:DotNetSignType=$(SignType)
95+
/p:DotNetSignType=${{ parameters.signTypeParameter }}
9296
/p:TeamName=MSBuild
9397
/p:DotNetPublishUsingPipelines=true
9498
/p:VisualStudioIbcDrop=$(OptProfDrop)
9599
/p:GenerateSbom=true
96100
/p:SuppressFinalPackageVersion=${{ parameters.isExperimental }}
101+
/p:IsExperimental=${{ parameters.isExperimental }}
102+
97103
displayName: Build
98104
condition: succeeded()
99105

azure-pipelines/.vsts-dotnet-exp-perf.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ trigger:
66
# Once they exist, we should define these as "runtime parameters"
77
# https://github.com/Microsoft/azure-pipelines-yaml/pull/129
88
# variables:
9-
# SignType: test
109
# SkipApplyOptimizationData: false
1110

1211
parameters:
@@ -18,6 +17,10 @@ parameters:
1817
displayName: Enable Signing Validation
1918
type: boolean
2019
default: false
20+
- name: signTypeParameter
21+
displayName: Sign Type
22+
type: string
23+
default: 'test'
2124
- name: enableOptProf
2225
displayName: Enable OptProf data collection for this build
2326
type: boolean
@@ -77,6 +80,7 @@ extends:
7780
parameters:
7881
isExperimental: true
7982
enableComponentGovernance: false
83+
signTypeParameter: ${{ parameters.signTypeParameter }}
8084
enableOptProf: ${{ parameters.enableOptProf }}
8185

8286
- template: /eng/common/templates/post-build/post-build.yml@self

azure-pipelines/vs-insertion-experimental.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,3 +180,4 @@ extends:
180180
InsertionReviewers: MSBuild
181181
CustomScriptExecutionCommand: $(InsertCustomScriptExecutionCommand)
182182
InsertionBuildPolicy: Request Perf DDRITs
183+

eng/Versions.props

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,15 @@
22
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the MIT license. See License.txt in the project root for full license information. -->
33
<Project>
44
<PropertyGroup>
5-
<VersionPrefix>17.12.48</VersionPrefix>
5+
<VersionPrefix>17.12.49</VersionPrefix>
66
<DotNetFinalVersionKind>release</DotNetFinalVersionKind>
77
<PackageValidationBaselineVersion>17.11.4</PackageValidationBaselineVersion>
88
<AssemblyVersion>15.1.0.0</AssemblyVersion>
99
<PreReleaseVersionLabel>preview</PreReleaseVersionLabel>
10+
11+
<!-- differentiate experimental insertions to avoid package id conflicts,
12+
it has to be alphabetically after "preview" to avoid downgrade errors in VS -->
13+
<PreReleaseVersionLabel Condition="'$(IsExperimental)' == 'true'">test</PreReleaseVersionLabel>
1014
<DotNetUseShippingVersions>true</DotNetUseShippingVersions>
1115
<!-- Workaround for https://github.com/dotnet/roslyn/issues/35793 -->
1216
<SemanticVersioningV1>true</SemanticVersioningV1>

0 commit comments

Comments
 (0)