From 52d863818147e3fa7c828f60cd59ea45e2091904 Mon Sep 17 00:00:00 2001 From: Matthew B White Date: Tue, 9 Mar 2021 09:00:12 +0000 Subject: [PATCH] Move azure variable to env variable Signed-off-by: Matthew B White --- ci/templates/nightly-version-update.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ci/templates/nightly-version-update.yaml b/ci/templates/nightly-version-update.yaml index 2cf5d704..8be5e417 100644 --- a/ci/templates/nightly-version-update.yaml +++ b/ci/templates/nightly-version-update.yaml @@ -1,12 +1,13 @@ steps: - script: | set -ev - export RELEASE_VERSION=${VERSION}-unstable.$(Date:yyyyMMdd) + export RELEASE_VERSION=${VERSION}.dev.${DATE_STAMP} find . \( -wholename "./docs/package.json" -or -wholename "./apis/**/package.json" -or -wholename "./libraries/**/package.json" -or -wholename "./test/**/package.json" \) -exec node ci/updatePackageJson.js {} \; node common/scripts/install-run-rush.js update name: UpdateVersionNightlyDrivers - displayName: 'Build data' + displayName: 'Update Version for dev drivers' condition: and(succeeded(), eq(variables['Build.Reason'], 'Schedule')) # only run on the scheduled builds env: COMMIT_ID: $(Build.SourceVersion) - VERSION: $(VERSION) \ No newline at end of file + VERSION: $(VERSION) + DATE_STAMP: $(Date:yyyyMMdd) \ No newline at end of file