From f5d9a25d414f5c247bff8119b51e2a44d2e884d7 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 6 May 2021 19:35:53 -0400 Subject: [PATCH] Revert changes to SetDevVersion. (#2213) Co-authored-by: Mitch Denny --- .../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 6c15aded2..a2c37ab5b 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