Skip to content

Commit

Permalink
Rename master branch to main. (#1254)
Browse files Browse the repository at this point in the history
  • Loading branch information
peombwa authored May 16, 2022
1 parent 8a3a01a commit b57ae50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ steps:

- task: PoliCheck@1
displayName: 'Run PoliCheck'
condition: and(succeeded(), eq(eq(variables['Build.SourceBranch'], 'refs/heads/master'), false))
condition: and(succeeded(), eq(eq(variables['Build.SourceBranch'], 'refs/heads/main'), false))
inputs:
targetType: F
SOMEnabled: true
Expand Down
4 changes: 2 additions & 2 deletions .azure-pipelines/integrated-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pool: $(BUILDAGENT)
trigger:
branches:
include:
- master
- main
- dev
- releases/*
- bugfixes/*
Expand All @@ -62,7 +62,7 @@ stages:
targetType: 'inline'
script: |
printenv
if ('$(Build.SourceBranchName)' -eq "master"){
if ('$(Build.SourceBranchName)' -eq "main"){
Write-Host "##vso[task.setvariable variable=BUILDNUMBER;isOutput=true]-1"
}
Write-Host $(BUILDNUMBER)
Expand Down

0 comments on commit b57ae50

Please sign in to comment.