diff --git a/.github/scripts/on-release.sh b/.github/scripts/on-release.sh index 489a67ed4..7b32d9cc5 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..HEAD" > "$OUTPUT_DIR/commits.txt" releaseNotes+=$'\r\n##### Commits\r\n' IFS=$'\n' for next in `cat $commitFile`