Merge pull request #8469 from hashicorp/td-prepare_changlog-linux-updates

prepare_changelog: Update regex to work with GNU grep
This commit is contained in:
Wilken Rivera 2019-12-09 12:46:00 -08:00 committed by GitHub
commit a828a6a4e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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