diff --git a/scripts/release_script.sh b/scripts/release_script.sh index f042fb9..4402868 100644 --- a/scripts/release_script.sh +++ b/scripts/release_script.sh @@ -213,10 +213,13 @@ get_latest_commits_list() { done < <(git log --pretty=format:"%h,%s,%b") fi + + # echo "get_latest_commits_list" for commit in "${commits_array[@]}"; do log "$commit" done + # # Return the array echo "${commits_array[@]}" @@ -840,8 +843,8 @@ create_github_release() { \"draft\": false, \"prerelease\": $is_pre_release, \"generate_release_notes\": true - }" - ) + }") + echo "RELEASE_RESPONSE" echo "$RELEASE_RESPONSE" @@ -853,7 +856,6 @@ create_github_release() { echo "$RELEASE_RESPONSE" | jq '.message, .errors' log 'Error: Failed to create a new release in GitHub' exit 1 - log 'Error: Failed to create a new release in GitHub' fi