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
|
fi
|
||||||
|
|
||||||
get_prs(){
|
get_prs(){
|
||||||
# git log --merges v0.10.2...c3861d167533fb797b0fae0c380806625712e5f7 |
|
# git log v0.10.2...c3861d167533fb797b0fae0c380806625712e5f7 |
|
||||||
git log --merges HEAD...${LAST_RELEASE} |
|
git log HEAD...${LAST_RELEASE} |
|
||||||
grep -o "Merge pull request #\([0-9]\+\)" | awk -F\# '{print $2}' | while read line
|
grep -o "#\([0-9]\+\)" | awk -F\# '{print $2}' | while read line
|
||||||
do
|
do
|
||||||
grep -q "GH-${line}" CHANGELOG.md
|
grep -q "GH-${line}" CHANGELOG.md
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
|
|
Loading…
Reference in New Issue