Skip to content

Commit

Permalink
Change default branch name to main (#15840)
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenkuttappan authored Jun 18, 2021
1 parent e823b26 commit d769b84
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion eng/pipelines/mgmt-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ trigger:
branches:
include:
- master
- main
paths:
include:
- eng/pipelines/mgmt-pr.yml
Expand Down Expand Up @@ -220,7 +221,7 @@ jobs:
inputs:
verbose: false

- script: 'gulp pack --base-reference=master --head-reference=master'
- script: 'gulp pack --base-reference=main --head-reference=main'
displayName: 'gulp pack'

- task: CopyFiles@2
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/templates/jobs/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- script: |
echo "##vso[build.addbuildtag]Scheduled"
displayName: "Tag scheduled builds"
condition: and(always(),and(eq(variables['Build.SourceBranchName'],'master'),eq(variables['Build.Reason'],'Schedule')))
condition: and(always(),and(eq(variables['Build.SourceBranchName'],'main'),eq(variables['Build.Reason'],'Schedule')))
- template: ../steps/common.yml

Expand Down
4 changes: 2 additions & 2 deletions sdk/storage/test-resources-post.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
# There are no documented approaches to specifying CORS rules using ARM, this is a workaround until
# support for setting CORS rules is added to ARM for Queues

# It is invoked by the https://github.com/Azure/azure-sdk-for-js/blob/master/eng/New-TestResources.ps1
# script after the ARM template, defined in https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/storage/test-resources.json,
# It is invoked by the https://github.com/Azure/azure-sdk-for-js/blob/main/eng/New-TestResources.ps1
# script after the ARM template, defined in https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/storage/test-resources.json,
# is finished being deployed. The ARM template is responsible for creating the Storage accounts needed for live tests.

param (
Expand Down
6 changes: 3 additions & 3 deletions sdk/tables/test-resources-post.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
# There are no documented approaches to specifying CORS rules using ARM, this is a workaround until
# support for setting CORS rules is added to ARM for Tables

# It is invoked by the https://github.com/Azure/azure-sdk-for-js/blob/master/eng/New-TestResources.ps1
# script after the ARM template, defined in https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/tables/test-resources.json,
# It is invoked by the https://github.com/Azure/azure-sdk-for-js/blob/main/eng/New-TestResources.ps1
# script after the ARM template, defined in https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/tables/test-resources.json,
# is finished being deployed. The ARM template is responsible for creating the Storage accounts needed for live tests.

param (
Expand Down Expand Up @@ -35,4 +35,4 @@ $corsRules = (@{

Set-AzStorageCORSRule -ServiceType 'Table' -CorsRules $corsRules -Context $context

Write-Verbose "CORS rule set for $storageAccountName"
Write-Verbose "CORS rule set for $storageAccountName"

0 comments on commit d769b84

Please sign in to comment.