File tree 2 files changed +13
-1
lines changed
common/pipelines/templates/steps
pipelines/templates/steps
2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change
1
+ # This script fragment is used across our repos to set a variable "SetDevVersion" which
2
+ # is used when this pipeline is going to be generating and publishing daily dev builds.
3
+
4
+ steps :
5
+ - pwsh : |
6
+ $setDailyDevBuild = "false"
7
+ if (('$(Build.Reason)' -eq 'Schedule') -and ('$(System.TeamProject)' -eq 'internal')) {
8
+ $setDailyDevBuild = "true"
9
+ }
10
+ echo "##vso[task.setvariable variable=SetDevVersion]$setDailyDevBuild"
11
+ displayName : " Setup Versioning Properties"
12
+ condition : eq(variables['SetDevVersion'], '')
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ parameters:
3
3
ServiceDirectory : ' '
4
4
5
5
steps :
6
- - template : tools/daily-dev-build-variable/ daily-dev-build-variable.yml@azure-sdk-tools
6
+ - template : /eng/common/pipelines/templates/steps/ daily-dev-build-variable.yml
7
7
8
8
- task : PythonScript@0
9
9
condition : eq(variables['SetDevVersion'],'true')
You can’t perform that action at this time.
0 commit comments