Running v1 and beta in parallel causes master branch to be out of sync
zengin opened this issue · 0 comments
zengin commented
See the error below:
Starting: push clean beta metadata to msgraph-metadata repo
==============================================================================
Task : PowerShell
Description : Run a PowerShell script on Linux, macOS, or Windows
Version : 2.180.1
Author : Microsoft Corporation
Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
==============================================================================
Generating script.
========================== Starting Command Output ===========================
/usr/bin/pwsh -NoLogo -NoProfile -NonInteractive -Command . '/home/vsts/work/_temp/668c71c9-e0b1-4ceb-978b-8a45be851d03.ps1'
About to add clean beta metadata file.....
[master d1df8a2] Update clean metadata file with 39906 [skip ci]
2 files changed, 661 insertions(+), 283 deletions(-)
Added and commited cleaned beta metadata.
To https://github.com/microsoftgraph/msgraph-metadata
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://github.com/microsoftgraph/msgraph-metadata'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Pushed the results of the build 39906 to the master branch.
##[error]PowerShell exited with code '1'.
Finishing: push clean beta metadata to msgraph-metadata repo
We should have a git pull
before git push
.
AB#8072