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:
commit
a828a6a4e0
|
@ -30,7 +30,7 @@ fi
|
||||||
get_prs(){
|
get_prs(){
|
||||||
# git log --merges v0.10.2...c3861d167533fb797b0fae0c380806625712e5f7 |
|
# git log --merges v0.10.2...c3861d167533fb797b0fae0c380806625712e5f7 |
|
||||||
git log --merges HEAD...${LAST_RELEASE} |
|
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
|
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