From 8d45f9aaaecfcd242376ff3021c46cacb743ee51 Mon Sep 17 00:00:00 2001 From: Nicholas Chin Date: Sat, 19 Aug 2023 22:07:15 -0600 Subject: [PATCH] util/board_status: Switch branch to main for uploading results The default branch for the board-status repo was renamed to main, and thus the -u option for board_status.sh no longer works as it tries to push to master. Update the branch accordingly. TEST: board_status.sh is able to upload results to review.coreboot.org using the -u flag. Change-Id: Ic90e95d8701e21c4ae30a7ac85560eebe7658d79 Signed-off-by: Nicholas Chin Reviewed-on: https://review.coreboot.org/c/coreboot/+/77324 Tested-by: build bot (Jenkins) Reviewed-by: Felix Singer --- util/board_status/board_status.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/board_status/board_status.sh b/util/board_status/board_status.sh index 78f21a80a8..da19940669 100755 --- a/util/board_status/board_status.sh +++ b/util/board_status/board_status.sh @@ -553,7 +553,7 @@ if [ $UPLOAD_RESULTS -eq 1 ]; then git add "${vendor}" git commit -a -m "${mainboard_dir}/${tagged_version}/${timestamp}" count=0 - until git push origin master || test $count -eq 3; do + until git push origin main || test $count -eq 3; do git pull --rebase count=$((count + 1)) done