diff options
author | Joao Moreno <joao.moreno@microsoft.com> | 2019-04-08 12:49:07 +0300 |
---|---|---|
committer | Joao Moreno <joao.moreno@microsoft.com> | 2019-04-08 12:49:07 +0300 |
commit | 162a4ec3cf643bd1c9688260348f9abcdb68fd1b (patch) | |
tree | 811b86a7b55e28e80f7946232edf4cc9104e1041 | |
parent | f654416931799d6289b44e407f044906b57ae42e (diff) |
add distro build
-rw-r--r-- | build/azure-pipelines/distro-build.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/build/azure-pipelines/distro-build.yml b/build/azure-pipelines/distro-build.yml new file mode 100644 index 00000000000..47714e660ad --- /dev/null +++ b/build/azure-pipelines/distro-build.yml @@ -0,0 +1,22 @@ +steps: +- task: NodeTool@0 + inputs: + versionSpec: "10.15.1" + +- script: | + set -e + + cat << EOF > ~/.netrc + machine github.com + login vscode + password $(VSCODE_MIXIN_PASSWORD) + EOF + + git config user.email "vscode@microsoft.com" + git config user.name "VSCode" + + git remote add distro "https://github.com/$VSCODE_MIXIN_REPO.git" + git fetch distro + git merge $(node -p "require('./package.json').distro") + + displayName: Merge Distro
\ No newline at end of file |