Skip to content

Commit f764492

Browse files
chidozieononiwuchanglong-liu
authored andcommitted
clean up resources / fix changelog (Azure#12432)
1 parent 2ba23a5 commit f764492

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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'], '')

eng/pipelines/templates/steps/set-dev-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ parameters:
33
ServiceDirectory: ''
44

55
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
77

88
- task: PythonScript@0
99
condition: eq(variables['SetDevVersion'],'true')

0 commit comments

Comments
 (0)