mirror of
https://github.com/hashicorp/packer.git
synced 2026-06-08 16:22:15 -04:00
scripts/prepare_changelog:Update to output entries not in CHANGELOG.md
This commit is contained in:
parent
360df8f257
commit
631ed14dc6
1 changed files with 3 additions and 2 deletions
|
|
@ -28,8 +28,9 @@ get_prs(){
|
|||
| while read line
|
||||
do
|
||||
if grep -q "GH-${line}" CHANGELOG.md; then
|
||||
echo $line
|
||||
continue
|
||||
fi
|
||||
echo $line
|
||||
done | while read PR_NUM
|
||||
do
|
||||
out=$(gh pr view ${PR_NUM} --json "title,labels,url" > pull.json)
|
||||
|
|
@ -48,7 +49,7 @@ get_prs | while read line; do
|
|||
if [[ "$line" =~ "bad" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
echo "Press enter to continue with next entry.."
|
||||
echo "Press enter to continue with next entry."
|
||||
vared -ch ok
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue