Skip to content

Commit 7fc4414

Browse files
authored
Merge pull request #8891 from dotnet-maestro-bot/merge/vs17.2-to-vs17.4
[automated] Merge branch 'vs17.2' => 'vs17.4'
2 parents 020b625 + a54bbdd commit 7fc4414

2 files changed

Lines changed: 27 additions & 8 deletions

File tree

.vsts-dotnet.yml

Lines changed: 26 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,38 @@ variables:
3939
value: .NETCore
4040
- name: _DotNetValidationArtifactsCategory
4141
value: .NETCoreValidation
42+
- name: EnableReleaseOneLocBuild
43+
value: false
4244

4345
stages:
4446
- stage: build
4547
displayName: Build
4648

4749
jobs:
48-
- ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/vs17.4') }}: # should track next-release's active dev branch
49-
- template: /eng/common/templates/job/onelocbuild.yml
50-
parameters:
51-
LclSource: lclFilesfromPackage
52-
LclPackageId: 'LCL-JUNO-PROD-MSBUILD'
53-
MirrorRepo: 'msbuild'
54-
MirrorBranch: 'main' # should match condition above
50+
- ${{ if and( ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
51+
# The localization setup for release/ branches. Note difference in LclPackageId. main branch is handled separately below.
52+
# Used for vs17.2, vs17.4, vs17.6 etc. branches only.
53+
# When the branch is setup for localization (the localization ticket needs to be created - https://aka.ms/ceChangeLocConfig, requesting change from one release branch to another),
54+
# set 'EnableReleaseOneLocBuild' to true.
55+
- ${{ if startsWith(variables['Build.SourceBranch'], 'refs/heads/vs') }}:
56+
- template: /eng/common/templates/job/onelocbuild.yml
57+
parameters:
58+
MirrorRepo: 'msbuild'
59+
LclSource: lclFilesfromPackage
60+
LclPackageId: 'LCL-JUNO-PROD-MSBUILDREL'
61+
MirrorBranch: replace(variables['Build.SourceBranch'], 'refs/heads/', '')
62+
JobNameSuffix: '_release'
63+
condition: $(EnableReleaseOneLocBuild)
64+
# The localization setup for main branch. Note difference in package ID. Should not be used with release/ branches.
65+
- ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/main') }}:
66+
- template: /eng/common/templates/job/onelocbuild.yml
67+
parameters:
68+
MirrorRepo: 'msbuild'
69+
LclSource: lclFilesfromPackage
70+
LclPackageId: 'LCL-JUNO-PROD-MSBUILD'
71+
MirrorBranch: 'main'
72+
JobNameSuffix: '_main'
73+
condition: eq(variables['Build.SourceBranch'], 'refs/heads/main')
5574

5675
- job: Windows_NT
5776
pool:

eng/Versions.props

Lines changed: 1 addition & 1 deletion
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.4.6</VersionPrefix>
5+
<VersionPrefix>17.4.7</VersionPrefix>
66
<DotNetFinalVersionKind>release</DotNetFinalVersionKind>
77
<AssemblyVersion>15.1.0.0</AssemblyVersion>
88
<PreReleaseVersionLabel>preview</PreReleaseVersionLabel>

0 commit comments

Comments
 (0)