diff --git a/devops/build-samples.yml b/devops/build-samples.yml index f265eaad038b..32229355dc18 100644 --- a/devops/build-samples.yml +++ b/devops/build-samples.yml @@ -72,7 +72,7 @@ jobs: git remote add origin https://github.com/xamarin/maccore git config gc.auto 0 git config --get-all http.https://github.com/xamarin/maccore.extraheader - AUTH=$(git config -l | grep AUTHORIZATION | sed 's/.*AUTHORIZATION: //') + AUTH=$(git config -l | grep AUTHORIZATION | head -1 | sed 's/.*AUTHORIZATION: //') git -c http.extraheader="AUTHORIZATION: $AUTH" fetch --tags --prune --progress --no-recurse-submodules origin make reset-maccore -C "$(System.DefaultWorkingDirectory)" V=1 "$(System.DefaultWorkingDirectory)/../maccore/tools/install-qa-provisioning-profiles.sh" -v