Skip to content

Commit 8b3572f

Browse files
authored
VS Target Branch/Channel props & OptProf Schedule now reflect Dev18 VS release cadence (#7163)
1 parent 6e8e121 commit 8b3572f

2 files changed

Lines changed: 13 additions & 16 deletions

File tree

build/config.props

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@
2525
<IsEscrowMode Condition="'$(IsEscrowMode)' == ''">false</IsEscrowMode>
2626

2727
<!-- Visual Studio Insertion Logic -->
28-
<VsTargetMajorVersion Condition="'$(VsTargetMajorVersion)' == ''">$([MSBuild]::Add(11, $(MajorNuGetVersion)))</VsTargetMajorVersion>
2928
<VsTargetBranch Condition="'$(VsTargetBranch)' == '' And '$(IsEscrowMode)' != 'true'">main</VsTargetBranch>
30-
<VsTargetChannel Condition="'$(VsTargetChannel)' == '' And '$(IsEscrowMode)' != 'true'">int.$(VsTargetBranch)</VsTargetChannel>
31-
<VsTargetChannelForTests Condition="'$(VsTargetChannelForTests)' == '' And '$(IsEscrowMode)' != 'true'">int.$(VsTargetBranch)</VsTargetChannelForTests>
29+
<VsTargetChannel Condition="'$(VsTargetChannel)' == '' And '$(IsEscrowMode)' != 'true'">int.main</VsTargetChannel>
3230

3331
<!-- NuGet SDK VS package Semantic Version -->
32+
<VsTargetMajorVersion Condition="'$(VsTargetMajorVersion)' == ''">$([MSBuild]::Add(11, $(MajorNuGetVersion)))</VsTargetMajorVersion>
3433
<NuGetSdkVsSemanticVersion>$(VsTargetMajorVersion).$(MinorNuGetVersion).$(PatchNuGetVersion)</NuGetSdkVsSemanticVersion>
3534

36-
<!-- This branches are used for creating insertion PRs -->
37-
<VsTargetBranch Condition="'$(VsTargetBranch)' == '' And '$(IsEscrowMode)' == 'true'">rel/d$(VsTargetMajorVersion).$(MinorNuGetVersion)</VsTargetBranch>
38-
<VsTargetChannel Condition="'$(VsTargetChannel)' == '' And '$(IsEscrowMode)' == 'true'">int.d$(VsTargetMajorVersion).$(MinorNuGetVersion)</VsTargetChannel>
39-
<!-- Run Apex/E2E tests on the target release branch -->
40-
<VsTargetChannelForTests Condition="'$(VsTargetChannelForTests)' == '' And '$(IsEscrowMode)' == 'true'">$(VsTargetChannel)</VsTargetChannelForTests>
35+
<!-- These branches are used for creating insertion PRs -->
36+
<VsTargetBranch Condition="'$(VsTargetBranch)' == '' And '$(IsEscrowMode)' == 'true'">rel/insiders</VsTargetBranch>
37+
<VsTargetChannel Condition="'$(VsTargetChannel)' == '' And '$(IsEscrowMode)' == 'true'">insiders</VsTargetChannel>
38+
39+
<!-- Run Apex/E2E tests on the target branch -->
40+
<VsTargetChannelForTests Condition="'$(VsTargetChannelForTests)' == ''">$(VsTargetChannel)</VsTargetChannelForTests>
4141
</PropertyGroup>
4242

4343
<PropertyGroup Condition=" '$(PreReleaseVersion)' == '' ">

eng/pipelines/optprof.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,9 @@ resources:
1010
branches:
1111
include:
1212
- dev
13-
- release-*
14-
- release/*
15-
exclude:
16-
- release-6.0.x
17-
- release-6.3.x
18-
- release-6.2.x
13+
- release-6.14.x
14+
- release-6.12.x
15+
- release-5.11.x
1916
- pipeline: DartLab
2017
source: DartLab
2118
branch: main
@@ -111,11 +108,11 @@ stages:
111108
112109
Write-Host "Target Visual Studio branch (full name): $VSBranch"
113110
114-
# The value will be something like 'main' or 'rel/d16.4';
111+
# The value will be something like 'main' or 'rel/insiders';
115112
# however, the subsequent task which gets bootstrapper details has a parameter (VSBranch)
116113
# which (as of writing this) requires the branch "short" name.
117114
# For the 'main' branch, the short name is still 'main'.
118-
# For the 'rel/d16.4' branch, the short name is 'd16.4'.
115+
# For the 'rel/insiders' branch, the short name is 'insiders'.
119116
# Ideally, we would not need to figure out the branch short name ourselves,
120117
# but short-term we will to unblock ourselves.
121118
$branchParts = $VSBranch.Split('/')

0 commit comments

Comments
 (0)