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:
parent
1719633058
commit
7254b04129
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue