From 51e21fc5eddd4316d6ad1e550fff235205546d13 Mon Sep 17 00:00:00 2001 From: Amin Sadeghi Date: Mon, 24 Jul 2023 13:55:36 -0400 Subject: [PATCH] Remove clutter from automatically generated release notes --- .github/workflows/logger.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/logger.sh b/.github/workflows/logger.sh index 35349870b8..a56239b188 100755 --- a/.github/workflows/logger.sh +++ b/.github/workflows/logger.sh @@ -48,6 +48,12 @@ function filter_commits_by_tag_interval { temp=$(git log --merges "${1}..${2}" --format=%B) # Remove those merge commits for updating feature branches temp=$(echo "${temp}" | grep -v -E "Merge branch") + # Remove default merge commit messages + temp=$(echo "${temp}" | grep -v -E "Merge pull request") + # Remove merge backs from release to dev (which is done after every release) + temp=$(echo "${temp}" | grep -v -E "back into dev") + # Find lines that start with "# " and replace them with "" + temp=$(echo "${temp}" | sed -r 's/^# //') echo "$temp" }