Skip to content

Commit

Permalink
read default branch
Browse files Browse the repository at this point in the history
  • Loading branch information
sima-zhu committed Apr 16, 2021
1 parent da68f11 commit 777be0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/pipelines/templates/steps/build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ steps:
- script: |
echo "##vso[build.addbuildtag]Scheduled"
displayName: 'Tag scheduled builds'
condition: and(eq(variables['Build.SourceBranchName'], '${{DefaultBranch}}'), eq(variables['Build.Reason'],'Schedule'))
condition: and(eq(variables['Build.SourceBranchName'], variables['DefaultBranch']), eq(variables['Build.Reason'],'Schedule'))
- task: UsePythonVersion@0
displayName: 'Use Python 2.7'
Expand Down

0 comments on commit 777be0c

Please sign in to comment.