|
|
@ -4,7 +4,7 @@ URL="https://github.com/MetaMask/metamask-extension/pull/" |
|
|
|
LOG=$(git log $(git describe --tags $(git rev-list --tags --max-count=1))..HEAD --pretty="%s::%b" --reverse --grep="Merge pull request #" --grep="(#"); |
|
|
|
LOG=$(git log $(git describe --tags $(git rev-list --tags --max-count=1))..HEAD --pretty="%s::%b" --reverse --grep="Merge pull request #" --grep="(#"); |
|
|
|
while read -r line; do |
|
|
|
while read -r line; do |
|
|
|
SUBJECT="$(echo $line | sed -E 's/(.*):{2}(.*)/\1/')" |
|
|
|
SUBJECT="$(echo $line | sed -E 's/(.*):{2}(.*)/\1/')" |
|
|
|
PR=$(echo $line | grep -Po '#\d+' | sed "s/#//") |
|
|
|
PR=$(echo $SUBJECT | sed 's/^.*(#\([^&]*\)).*/\1/' | sed 's/^.*#\([^&]*\) from.*/\1/') |
|
|
|
if [ -z "$(echo $line | sed -E 's/(.*):{2}(.*)/\2/')" ]; then |
|
|
|
if [ -z "$(echo $line | sed -E 's/(.*):{2}(.*)/\2/')" ]; then |
|
|
|
MESSAGE=$(echo $SUBJECT | sed "s/(#$PR)//g"); else |
|
|
|
MESSAGE=$(echo $SUBJECT | sed "s/(#$PR)//g"); else |
|
|
|
MESSAGE=$(echo $line | sed -E 's/(.*):{2}(.*)/\2/') |
|
|
|
MESSAGE=$(echo $line | sed -E 's/(.*):{2}(.*)/\2/') |
|
|
|