Skip to content

Commit

Permalink
Merge pull request #5017 from KnVerey/fix-changelog-unauthed
Browse files Browse the repository at this point in the history
Don't have empty string when no auth info
  • Loading branch information
KnVerey authored Feb 1, 2023
2 parents 8594932 + e4d7eaa commit bea105d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion releasing/compile-changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ for((i=0; i < ${#commits[@]}; i+=batchSize))
do
commitList=$(IFS="+"; echo "${commits[@]:i:batchSize}" | sed 's/ /+/g')

if ! newResultsRaw=$(curl -sSL "https://api.github.com/search/issues?q=$commitList+repo%3Akubernetes-sigs%2Fkustomize+is:pull-request" "${github_auth_string}"); then
if ! newResultsRaw=$(curl -sSL "https://api.github.com/search/issues?q=$commitList+repo%3Akubernetes-sigs%2Fkustomize+is:pull-request" $github_auth_string); then
echo "Failed to fetch results for commits (exit code $?): $commitList"
exit 1
fi
Expand Down

0 comments on commit bea105d

Please sign in to comment.