Skip to content

Commit 2cd0102

Browse files
authored
Change branching to "main is the future release, branches are for servicing" (#18730)
* Stop auto servicing from main * Update VS insertion mapping * Update Versions.props * Update Versions.props * Update FSharp.Compiler.Service.fsproj
1 parent 8699fdd commit 2cd0102

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

.config/service-branch-merge.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212
"release/dev17.14": {
1313
"MergeToBranch": "main",
1414
"ExtraSwitches": "-QuietComments"
15-
},
16-
"main": {
17-
"MergeToBranch": "release/dev18.0",
18-
"ExtraSwitches": "-QuietComments"
1915
}
2016
}
2117
}

azure-pipelines.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,12 @@ trigger:
2626

2727
variables:
2828
# Release branch for F#
29-
# Should be 'current' release branch name, i.e. 'release/dev17.10' in dotnet/fsharp/refs/heads/main, 'release/dev17.10' in dotnet/fsharp/refs/heads/release/dev17.10 and 'release/dev17.9' in dotnet/fsharp/refs/heads/release/dev17.9
30-
# Should **never** be 'main' in dotnet/fsharp/refs/heads/main, since it will start inserting to VS twice.
29+
# The future "product" gets developed in main, so should be main in main.
30+
# When servicing branch gets created, this should maintain the mapping between F# servicing and VS servicing branches
3131
- name: FSharpReleaseBranchName
32-
value: release/dev18.0
32+
value: main
3333
# VS Insertion branch name (NOT the same as F# branch)
34-
# Should be previous release branch or 'main' in 'main' and 'main' in release branch
35-
# (since for all *new* release branches we insert into VS main and for all *previous* releases we insert into corresponding VS release),
36-
# i.e. 'rel/d17.9' *or* 'main' in dotnet/fsharp/refs/heads/main and 'main' in F# dotnet/fsharp/refs/heads/release/dev17.10 (latest release branch)
34+
# ( for main we insert into VS main and for all *previous* releases we insert into corresponding VS release),
3735
- name: VSInsertionTargetBranchName
3836
value: main
3937
- name: _TeamName
@@ -87,7 +85,7 @@ extends:
8785
#-------------------------------------------------------------------------------------------------------------------#
8886
# Signed build #
8987
#-------------------------------------------------------------------------------------------------------------------#
90-
# Localization: we only run it for specific release branches
88+
# Localization: we only run it for main
9189
- ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/main') }}:
9290
- template: /eng/common/templates-official/job/onelocbuild.yml@self
9391
parameters:

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<PropertyGroup>
1212
<!-- Don't use the built in support for pre-release iteration. The nuget repack task doesn't support
1313
the iteration format at the moment. https://github.com/dotnet/arcade/issues/15919 -->
14-
<FSharpPreReleaseIteration>6</FSharpPreReleaseIteration>
14+
<FSharpPreReleaseIteration>7</FSharpPreReleaseIteration>
1515
<PreReleaseVersionLabel>preview$(FSharpPreReleaseIteration)</PreReleaseVersionLabel>
1616
<!-- These have to be in sync with latest release branch -->
1717
<!-- F# Version components -->

0 commit comments

Comments
 (0)