mirror of https://github.com/coder/code-server.git
37 lines
744 B
YAML
37 lines
744 B
YAML
pool:
|
|
vmImage: "Ubuntu-16.04"
|
|
|
|
trigger: none
|
|
pr: none
|
|
|
|
steps:
|
|
- task: NodeTool@0
|
|
inputs:
|
|
versionSpec: "14.x"
|
|
|
|
- task: AzureKeyVault@1
|
|
displayName: "Azure Key Vault: Get Secrets"
|
|
inputs:
|
|
azureSubscription: "vscode-builds-subscription"
|
|
KeyVaultName: vscode
|
|
|
|
- script: |
|
|
set -e
|
|
|
|
cat << EOF > ~/.netrc
|
|
machine github.com
|
|
login vscode
|
|
password $(github-distro-mixin-password)
|
|
EOF
|
|
|
|
git config user.email "vscode@microsoft.com"
|
|
git config user.name "VSCode"
|
|
|
|
git checkout origin/electron-12.x.y
|
|
git merge origin/main
|
|
|
|
# Push main branch into exploration branch
|
|
git push origin HEAD:electron-12.x.y
|
|
|
|
displayName: Sync & Merge Exploration
|