Skip to content

Commit

Permalink
Remove clutter from automatically generated release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
ma-sadeghi committed Jul 24, 2023
1 parent 9847958 commit 51e21fc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/logger.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down

0 comments on commit 51e21fc

Please sign in to comment.