Skip to content

Commit e0b90a9

Browse files
authored
[automated] Merge branch 'vs17.11' => 'vs17.12' (#11311)
I detected changes in the vs17.11 branch which have not been merged yet to vs17.12. I'm a robot and am configured to help you automatically keep vs17.12 up to date, so I've opened this PR. This PR merges commits made on vs17.11 by the following committers: * @JaynieBai * @dotnet-maestro[bot] ## Instructions for merging from UI This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, *not* a squash or rebase commit. <img alt="merge button instructions" src="https://i.imgur.com/GepcNJV.png" width="300" /> If this repo does not allow creating merge commits from the GitHub UI, use command line instructions. ## Instructions for merging via command line Run these commands to merge this pull request from the command line. ``` sh git fetch git checkout vs17.11 git pull --ff-only git checkout vs17.12 git pull --ff-only git merge --no-ff vs17.11 # If there are merge conflicts, resolve them and then run git merge --continue to complete the merge # Pushing the changes to the PR branch will re-trigger PR validation. git push https://github.com/dotnet/msbuild HEAD:merge/vs17.11-to-vs17.12 ``` <details> <summary>or if you are using SSH</summary> ``` git push [email protected]:dotnet/msbuild HEAD:merge/vs17.11-to-vs17.12 ``` </details> After PR checks are complete push the branch ``` git push ``` ## Instructions for resolving conflicts :warning: If there are merge conflicts, you will need to resolve them manually before merging. You can do this [using GitHub][resolve-github] or using the [command line][resolve-cli]. [resolve-github]: https://help.github.com/articles/resolving-a-merge-conflict-on-github/ [resolve-cli]: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ ## Instructions for updating this pull request Contributors to this repo have permission update this pull request by pushing to the branch 'merge/vs17.11-to-vs17.12'. This can be done to resolve conflicts or make other changes to this pull request before it is merged. The provided examples assume that the remote is named 'origin'. If you have a different remote name, please replace 'origin' with the name of your remote. ``` git fetch git checkout -b merge/vs17.11-to-vs17.12 origin/vs17.12 git pull https://github.com/dotnet/msbuild merge/vs17.11-to-vs17.12 (make changes) git commit -m "Updated PR with my changes" git push https://github.com/dotnet/msbuild HEAD:merge/vs17.11-to-vs17.12 ``` <details> <summary>or if you are using SSH</summary> ``` git fetch git checkout -b merge/vs17.11-to-vs17.12 origin/vs17.12 git pull [email protected]:dotnet/msbuild merge/vs17.11-to-vs17.12 (make changes) git commit -m "Updated PR with my changes" git push [email protected]:dotnet/msbuild HEAD:merge/vs17.11-to-vs17.12 ``` </details> Contact .NET Core Engineering (dotnet/dnceng) if you have questions or issues. Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1.
2 parents f7ab67b + 2d938c6 commit e0b90a9

File tree

2 files changed

+25
-10
lines changed

2 files changed

+25
-10
lines changed

azure-pipelines/vs-insertion.yml

+24-9
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# To achieve insertion automation, this pipeline definition yml has to be on servicing branches and main.
33

44

5-
# Runs in 3 modes:
5+
# Runs in 3 modes:
66
# 1. daily main insertion from latest main CI.
7-
# - can be disabled in the UI by adding a custom schedule for any branch.
7+
# - can be disabled in the UI by adding a custom schedule for any branch.
88
# 2. trigger insert as a followup to a servicing CI run.
99
# - can be disabled in the UI by adding a custom CI trigger.
1010
# 3. manual insertion - select manually the TargetBranch and inserted CI run.
@@ -56,6 +56,10 @@ parameters:
5656
default: 183
5757
type: number
5858
displayName: 'Drop Retention Days (do not set to < 90)'
59+
- name: SkipUploadingPackages
60+
default: false
61+
type: boolean
62+
displayName: 'Skip uploading packages (set to true if inserting the same version multiple times)'
5963

6064
variables:
6165
# `auto` should work every time and selecting a branch in parameters is likely to fail due to incompatible versions in MSBuild and VS
@@ -95,8 +99,8 @@ variables:
9599
value: $(resources.pipeline.MSBuild.sourceCommit)
96100
- name: ArtifactPackagesPath
97101
value: $(Build.ArtifactStagingDirectory)/PackageArtifacts
98-
99-
- name: MSBuildPackagePattern
102+
103+
- name: MSBuildPackagePattern
100104
value: '$(ArtifactPackagesPath)/Microsoft.Build.*.nupkg'
101105
- name: StringToolsPackagePattern
102106
value: '$(ArtifactPackagesPath)/Microsoft.NET.StringTools*.nupkg'
@@ -200,7 +204,6 @@ extends:
200204
$MicrosoftNETStringToolsPackageVersion = $packageFile.BaseName.TrimStart("Microsoft.NET.StringTools")
201205
Write-Host "Setting MicrosoftNETStringToolsPackageVersion to '$MicrosoftNETStringToolsPackageVersion'"
202206
Write-Host "##vso[task.setvariable variable=MicrosoftNETStringToolsPackageVersion]$($MicrosoftNETStringToolsPackageVersion)"
203-
204207
$props = @(
205208
"VS.ExternalAPIs.MSBuild=$MSBuild_ExtApisPackageVersion",
206209
"Microsoft.Build=$MicrosoftNETStringToolsPackageVersion",
@@ -221,26 +224,38 @@ extends:
221224
$propsValue = $props -join ";"
222225
Write-Host "Setting InsertPackagePropsValues to '$propsValue'"
223226
Write-Host "##vso[task.setvariable variable=InsertPackagePropsValues]$($propsValue)"
227+
228+
# autocomplete main
229+
$autocomplete = "false"
230+
if ("$(InsertTargetBranch)" -eq "main")
231+
{
232+
$autocomplete = "true"
233+
}
234+
Write-Host "Setting AutoCompleteEnabled to '$autocomplete'"
235+
Write-Host "##vso[task.setvariable variable=AutoCompleteEnabled]$($autocomplete)"
236+
224237
- task: 1ES.PublishNuGet@1
225238
displayName: 'Push MSBuild CoreXT packages'
239+
condition: ${{ eq(parameters.SkipUploadingPackages, false) }}
226240
inputs:
227241
packageParentPath: '$(Build.ArtifactStagingDirectory)'
228242
packagesToPush: $(MSBuildPackagePattern);$(StringToolsPackagePattern);$(ExternalAPIsPackagePattern)
229243
nuGetFeedType: internal
230244
publishVstsFeed: VS
231-
allowPackageConflicts: true
245+
allowPackageConflicts: false
232246
- template: /azure-pipelines/WIFtoPATauth.yml@self
233247
parameters:
234248
wifServiceConnectionName: azure-public/vside package push
235249
deadPATServiceConnectionId: 42175e93-c771-4a4f-a132-3cca78f44b3b
236250
- task: 1ES.PublishNuGet@1
251+
condition: ${{ eq(parameters.SkipUploadingPackages, false) }}
237252
displayName: 'Push MSBuild packages to VSSDK'
238253
inputs:
239254
packageParentPath: '$(Build.ArtifactStagingDirectory)'
240255
packagesToPush: $(MSBuildPackagePattern);$(StringToolsPackagePattern)
241256
nuGetFeedType: external
242257
publishFeedCredentials: azure-public/vssdk
243-
allowPackageConflicts: true
258+
allowPackageConflicts: false
244259
- task: PowerShell@2
245260
name: PrintTargetBranch
246261
inputs:
@@ -262,6 +277,6 @@ extends:
262277
DefaultConfigValues: $(InsertConfigValues)
263278
InsertionReviewers: MSBuild,VS ProTools
264279
CustomScriptExecutionCommand: $(InsertCustomScriptExecutionCommand)
265-
AutoCompletePR: true
280+
AutoCompletePR: $(AutoCompleteEnabled)
266281
AutoCompleteMergeStrategy: Squash
267-
InsertionBuildPolicy: Request Perf DDRITs
282+
InsertionBuildPolicy: Request Perf DDRITs

eng/Versions.props

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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.26</VersionPrefix>
5+
<VersionPrefix>17.12.27</VersionPrefix>
66
<DotNetFinalVersionKind>release</DotNetFinalVersionKind>
77
<PackageValidationBaselineVersion>17.11.4</PackageValidationBaselineVersion>
88
<AssemblyVersion>15.1.0.0</AssemblyVersion>

0 commit comments

Comments
 (0)