Removing quality addition in naming and move to compile step (#10114)

* removing quality addition in naming and move to compile step

* fix yml
This commit is contained in:
Anthony Dresser
2020-04-21 17:09:19 -07:00
committed by GitHub
parent 94da31569e
commit 92ea0c3f5a
5 changed files with 18 additions and 28 deletions

View File

@@ -104,6 +104,24 @@ steps:
displayName: Compile
condition: and(succeeded(), ne(variables['CacheRestored-Compilation'], 'true'))
- script: |
set -e
VERSION=$(node -p "require(\"./package.json\").version")
if [ "$VSCODE_QUALITY" != "stable" ]
then
VERSION="$VERSION-$VSCODE_QUALITY"
fi
echo -e "{ \"version\": \"$VERSION\", \"quality\": \"$VSCODE_QUALITY\", \"commit\": \"$BUILD_SOURCEVERSION\" }" > ".build/version.json"
node build/azure-pipelines/common/copyArtifacts.js
displayName: Write Version Information
- task: PublishBuildArtifacts@1
displayName: 'Publish Artifact: drop'
- task: 1ESLighthouseEng.PipelineArtifactCaching.SaveCacheV1.SaveCache@1
inputs:
keyfile: 'build/.cachesalt, .build/commit, .build/quality'