From 35f01238e6958831446db88185f7766d76ddd90a Mon Sep 17 00:00:00 2001 From: Jeremy Green Date: Mon, 7 Aug 2023 12:36:06 -0500 Subject: [PATCH] let's get the whole response, not just the head --- bin/checkout-and-link-core-repo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/checkout-and-link-core-repo b/bin/checkout-and-link-core-repo index 7d16e0817..2946cab92 100755 --- a/bin/checkout-and-link-core-repo +++ b/bin/checkout-and-link-core-repo @@ -8,7 +8,7 @@ CI_BRANCH=$CIRCLE_BRANCH if [[ -v CI_BRANCH ]] then - BRANCH_RESPONSE=$(curl --head -H "Accept: application.vnd.github+json" https://api.github.com/repos/bullet-train-co/bullet_train-core/branches/$CI_BRANCH) + BRANCH_RESPONSE=$(curl --verbose -H "Accept: application.vnd.github+json" https://api.github.com/repos/bullet-train-co/bullet_train-core/branches/$CI_BRANCH) echo "Branch response ====================" echo $BRANCH_RESPONSE