Skip to content

Commit 40742a0

Browse files
authored
In Azure Pipelines, run with 'main' everywhere 'master' is (#13592)
1 parent 88311cd commit 40742a0

7 files changed

+12
-3
lines changed

build/ci/performance/vscode-python-performance.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ schedules:
88
branches:
99
include:
1010
- master
11+
- main
1112

1213
stages:
1314
- stage: Test_performance

build/ci/templates/steps/build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,14 @@ steps:
3434

3535
- bash: |
3636
npm run updateBuildNumber -- --buildNumber $BUILD_BUILDID
37-
displayName: 'Update dev Version of Extension'
37+
displayName: 'Update dev Version of Extension (master)'
3838
condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'master'))
3939
40+
- bash: |
41+
npm run updateBuildNumber -- --buildNumber $BUILD_BUILDID
42+
displayName: 'Update dev Version of Extension (main)'
43+
condition: and(succeeded(), eq(variables['Build.SourceBranchName'], 'main'))
44+
4045
- bash: |
4146
npm run updateBuildNumber -- --buildNumber $BUILD_BUILDID --updateChangelog
4247
displayName: 'Update release Version of Extension'

build/ci/vscode-python-ci-static-analysis.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: 'VSCode-Python-ci-static-analysis'
66
# on changes in the news and .vscode folders.
77
trigger:
88
branches:
9-
include: ['master', 'release*']
9+
include: ['master', 'main', 'release*']
1010
paths:
1111
exclude: ['/news/1 Enhancements', '/news/2 Fixes', '/news/3 Code Health', '/.vscode']
1212

build/ci/vscode-python-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: '$(Year:yyyy).$(Month).0.$(BuildID)-ci'
66
# on changes in the news and .vscode folders.
77
trigger:
88
branches:
9-
include: ['master', 'release*']
9+
include: ['master', 'main', 'release*']
1010
paths:
1111
exclude: ['/news/1 Enhancements', '/news/2 Fixes', '/news/3 Code Health', '/.vscode']
1212

build/ci/vscode-python-nightly-ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ schedules:
1515
branches:
1616
include:
1717
- master
18+
- main
1819
- release*
1920
always: true
2021

build/ci/vscode-python-nightly-flake-ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ schedules:
1515
branches:
1616
include:
1717
- master
18+
- main
1819
- release*
1920
always: true
2021

build/ci/vscode-python-pr-validation.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ pr:
99
branches:
1010
include:
1111
- 'master'
12+
- 'main'
1213
- 'release*'
1314
- 'ds*'
1415
- 'logging-changes-and-drop-old-debugger'

0 commit comments

Comments
 (0)