Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/azure-pipelines/distro-build.yml22
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