Use common template for SetDevVersion
@@ -3,14 +3,7 @@ parameters:
ServiceDirectory: ''
steps:
- - pwsh: |
- $setDailyDevBuild = "false"
- if (('$(Build.Reason)' -eq 'Schedule') -and ('$(System.TeamProject)' -eq 'internal')) {
- $setDailyDevBuild = "true"
- }
- echo "##vso[task.setvariable variable=SetDevVersion]$setDailyDevBuild"
- displayName: "Setup Versioning Properties"
- condition: eq(variables['SetDevVersion'], '')
+ - template: tools/daily-dev-build-variable/daily-dev-build-variable.yml@azure-sdk-tools
- task: PythonScript@0
condition: eq(variables['SetDevVersion'],'true')
