From 9e23cdcd62e05488067794ccbf43ce0a40a63919 Mon Sep 17 00:00:00 2001 From: Mitch Denny Date: Fri, 7 May 2021 08:06:38 +1000 Subject: [PATCH] Revert changes to SetDevVersion. --- .../pipelines/templates/steps/daily-dev-build-variable.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/eng/common/pipelines/templates/steps/daily-dev-build-variable.yml b/eng/common/pipelines/templates/steps/daily-dev-build-variable.yml index 6c15aded26..a2c37ab5b8 100644 --- a/eng/common/pipelines/templates/steps/daily-dev-build-variable.yml +++ b/eng/common/pipelines/templates/steps/daily-dev-build-variable.yml @@ -16,13 +16,9 @@ steps: condition: succeeded() - pwsh: | $setDailyDevBuild = "false" - if (('$(Build.Reason)' -in 'Schedule', 'IndividualCI') -and ('$(System.TeamProject)' -eq 'internal')) { + 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'], '') -- pwsh: | - echo "##vso[task.setvariable variable=SetDevVersion;isOutput=true]$(SetDevVersion)" - name: VersioningProperties - displayName: "Export Versioning Properties" \ No newline at end of file