Skip to content

Commit

Permalink
chore: Interpret git log grep pattern as literal string (#42)
Browse files Browse the repository at this point in the history
## Related changes

Explained in nobl9/nobl9-go#264.
  • Loading branch information
nieomylnieja authored Feb 7, 2024
1 parent 0ab226f commit bdc37d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/release-notes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ while IFS= read -r line; do
continue
fi
commit_msg="${BASH_REMATCH[1]}"
commit_body=$(git log --grep "$commit_msg" -n1 --pretty="%b")
commit_body=$(git log -F --grep "$commit_msg" -n1 --pretty="%b")

add_notes() {
local notes="$1"
Expand Down

0 comments on commit bdc37d4

Please sign in to comment.