Skip to content

Commit

Permalink
let's get the whole response, not just the head
Browse files Browse the repository at this point in the history
  • Loading branch information
jagthedrummer committed Aug 7, 2023
1 parent b223255 commit 35f0123
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/checkout-and-link-core-repo
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 35f0123

Please sign in to comment.