diff --git a/.github/scripts/on-release.sh b/.github/scripts/on-release.sh index e5e32009..489a67ed 100755 --- a/.github/scripts/on-release.sh +++ b/.github/scripts/on-release.sh @@ -330,7 +330,7 @@ fi if [ ! -z "$COMMITS_SINCE_RELEASE" ] && [ "$COMMITS_SINCE_RELEASE" != "null" ]; then echo "Getting commits since $COMMITS_SINCE_RELEASE ..." commitFile=$OUTPUT_DIR/commits.txt - git -C "$GITHUB_WORKSPACE" log --oneline $COMMITS_SINCE_RELEASE.. > "$OUTPUT_DIR/commits.txt" + git -C "$GITHUB_WORKSPACE" log --oneline "$COMMITS_SINCE_RELEASE.." > "$OUTPUT_DIR/commits.txt" releaseNotes+=$'\r\n##### Commits\r\n' IFS=$'\n' for next in `cat $commitFile`