From f649655c83e4e8ef3cde14419901e4f38bf0318e Mon Sep 17 00:00:00 2001 From: Marek Aufart Date: Mon, 17 Jun 2024 21:49:15 +0200 Subject: [PATCH] Fix Hub API test branch checkout (#132) Updating script checking out hub API tests to be able checkout diverged branches (previous git pull command failed on this). Signed-off-by: Marek Aufart --- hub-api/run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hub-api/run-tests.sh b/hub-api/run-tests.sh index 6dbc7ab..9f3f587 100755 --- a/hub-api/run-tests.sh +++ b/hub-api/run-tests.sh @@ -26,6 +26,6 @@ if [ ! -d $HUB_TMP_DIR ]; then fi cd $HUB_TMP_DIR -git pull origin ${BRANCH} +git checkout -b api-tests-run origin/${BRANCH} make test-api