From 89ad8ae4fae11b17a51adf706acce6bdc30640dc Mon Sep 17 00:00:00 2001 From: nywilken Date: Mon, 2 Dec 2019 11:50:42 -0500 Subject: [PATCH] prepare_changelog: Update regex to work with GNU grep --- scripts/prepare_changelog.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/prepare_changelog.sh b/scripts/prepare_changelog.sh index 5834c639f..74c8382e6 100755 --- a/scripts/prepare_changelog.sh +++ b/scripts/prepare_changelog.sh @@ -30,7 +30,7 @@ fi get_prs(){ # git log --merges v0.10.2...c3861d167533fb797b0fae0c380806625712e5f7 | git log --merges HEAD...${LAST_RELEASE} | - grep -o "Merge pull request #\(\d\+\)" | awk -F\# '{print $2}' | while read line + grep -o "Merge pull request #\([0-9]\+\)" | awk -F\# '{print $2}' | while read line do grep -q "GH-${line}" CHANGELOG.md if [ $? -ne 0 ]; then