Update eng/pipelines/templates/jobs/vmr-synchronization.yml

Co-authored-by: Přemek Vysoký <premek.vysoky@microsoft.com>
This commit is contained in:
Milena Hristova 2023-02-03 15:41:07 +01:00 committed by MilenaHristova
parent eb62f87cb4
commit 65138b64a9

View file

@ -56,7 +56,7 @@ jobs:
- ${{ if and(not(parameters.noPush), not(in(variables['Build.Reason'], 'PullRequest')), eq(variables['System.TeamProject'], 'internal')) }}:
- script: |
set -x
./.dotnet/dotnet darc vmr push --vmr "$(vmrPath)" --commit-verification-pat "$(BotAccount-dotnet-maestro-bot-no-scopes-PAT)" --branch "${{ parameters.vmrBranch }}" --remote-url https://github.com/dotnet/dotnet.git --github-pat "$(BotAccount-dotnet-bot-repo-PAT)" --verbose
./.dotnet/dotnet darc vmr push --vmr "$(vmrPath)" --commit-verification-pat '$(BotAccount-dotnet-maestro-bot-no-scopes-PAT)' --branch '${{ parameters.vmrBranch }}' --remote-url https://github.com/dotnet/dotnet --github-pat '$(BotAccount-dotnet-bot-repo-PAT)' --verbose
displayName: Push changes to dotnet/dotnet
workingDirectory: $(vmrPath)/src/installer
condition: and(succeeded(), or(eq(variables['vmrBranch'], 'main'), startsWith(variables['vmrBranch'], 'release/')))