Skip to content

Commit

Permalink
Move azure variable to env variable
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew B White <whitemat@uk.ibm.com>
  • Loading branch information
mbwhite authored and jt-nti committed Mar 9, 2021
1 parent b1991a6 commit 52d8638
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ci/templates/nightly-version-update.yaml
Original file line number Diff line number Diff line change
@@ -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)
VERSION: $(VERSION)
DATE_STAMP: $(Date:yyyyMMdd)

0 comments on commit 52d8638

Please sign in to comment.