From 9d198e2c7686a7d313baed44ab98e934ec8aacb5 Mon Sep 17 00:00:00 2001 From: Ralph El Hage Date: Wed, 7 Feb 2024 17:47:43 -0800 Subject: [PATCH] Yet another attempt --- .azure/pipelines/build.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.azure/pipelines/build.yaml b/.azure/pipelines/build.yaml index 39b79f62..be64319c 100644 --- a/.azure/pipelines/build.yaml +++ b/.azure/pipelines/build.yaml @@ -39,12 +39,14 @@ stages: - stage: SetupStage jobs: - job: SetupJob + variables: + devMinorPatch: $[format('{0:yyyyMM}.{0:d}', pipeline.startTime)] steps: - task: Bash@3 name: Variables inputs: filePath: ./.azure/pipelines/scripts/set-variables.sh - arguments: "0.$[format('{0:yyyyMM}.{0:d}', pipeline.startTime)]-dev.$(Build.BuildId).$(Rev:r).$(Build.SourceVersion)" + arguments: "0.$(devMinorPatch)-dev.$(Build.BuildId).$(Build.SourceVersion)" displayName: 'Set up environment variables' - stage: BuildStage