Skip to content

Commit

Permalink
ci: fix ci script
Browse files Browse the repository at this point in the history
  • Loading branch information
soufianes98 committed Dec 13, 2024
1 parent 62c9f75 commit 93ff06d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/release_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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[@]}"
Expand Down Expand Up @@ -840,8 +843,8 @@ create_github_release() {
\"draft\": false,
\"prerelease\": $is_pre_release,
\"generate_release_notes\": true
}"
)
}")


echo "RELEASE_RESPONSE"
echo "$RELEASE_RESPONSE"
Expand All @@ -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


Expand Down

0 comments on commit 93ff06d

Please sign in to comment.