diff options
author | João Moreno <joao.moreno@microsoft.com> | 2021-02-14 22:10:24 +0300 |
---|---|---|
committer | João Moreno <joao.moreno@microsoft.com> | 2021-02-14 22:10:24 +0300 |
commit | 980becda8d52cc341ddf349021bbda0788912b4d (patch) | |
tree | cc5872918b1b7e7ccff886d3854d6d2240267747 /build/azure-pipelines/distro-build.yml | |
parent | a699ffaee62010c4634d301da2bbdb7646b8d1da (diff) |
main rename
fixes #116341
Diffstat (limited to 'build/azure-pipelines/distro-build.yml')
-rw-r--r-- | build/azure-pipelines/distro-build.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build/azure-pipelines/distro-build.yml b/build/azure-pipelines/distro-build.yml index 331fbf9675e..22d6983e7f8 100644 --- a/build/azure-pipelines/distro-build.yml +++ b/build/azure-pipelines/distro-build.yml @@ -1,9 +1,9 @@ trigger: branches: - include: ["master", "release/*"] + include: ["main", "release/*"] pr: branches: - include: ["master", "release/*"] + include: ["main", "release/*"] steps: - task: NodeTool@0 @@ -31,8 +31,8 @@ steps: git remote add distro "https://github.com/$VSCODE_MIXIN_REPO.git" git fetch distro - # Push master branch into oss/master - git push distro origin/master:refs/heads/oss/master + # Push main branch into oss/main + git push distro origin/main:refs/heads/oss/main # Push every release branch into oss/release git for-each-ref --format="%(refname:short)" refs/remotes/origin/release/* | sed 's/^origin\/\(.*\)$/\0:refs\/heads\/oss\/\1/' | xargs git push distro |