script/prepare_changelog: Update to show squashed merge commits (#8744)

* script/prepare_changelog: Update regex to include squashed PRs

* scripts/prepare_changelog: Update to show all commits not just merged commits
This commit is contained in:
Wilken Rivera 2020-02-14 11:33:33 -05:00 committed by GitHub
parent 1719633058
commit 7254b04129
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -29,9 +29,9 @@ if [ -z $LAST_RELEASE ]; then
fi
get_prs(){
# git log --merges v0.10.2...c3861d167533fb797b0fae0c380806625712e5f7 |
git log --merges HEAD...${LAST_RELEASE} |
grep -o "Merge pull request #\([0-9]\+\)" | awk -F\# '{print $2}' | while read line
# git log v0.10.2...c3861d167533fb797b0fae0c380806625712e5f7 |
git log HEAD...${LAST_RELEASE} |
grep -o "#\([0-9]\+\)" | awk -F\# '{print $2}' | while read line
do
grep -q "GH-${line}" CHANGELOG.md
if [ $? -ne 0 ]; then