provide automatic changelog since last tag for linux

feature/default_network_editable
Esteban MIno 6 years ago committed by Dan Finlay
parent 592e6bddfb
commit 6dce32fc1e
  1. 2
      CHANGELOG.md
  2. 14
      auto-changelog.sh
  3. 3
      package.json

@ -1,6 +1,8 @@
# Changelog
## Current Develop Branch
- [#5694](https://github.com/MetaMask/metamask-extension/pull/5694): Version 5.0.1
- [#5547](https://github.com/MetaMask/metamask-extension/pull/5547): Bundle some ui dependencies separately to limit the build size of ui.js
- Resubmit approved transactions on new block, to fix bug where an error can stick transactions in this state.

@ -0,0 +1,14 @@
#! /bin/bash
git fetch --tags
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="(#");
while read -r line; do
SUBJECT="$(echo $line | sed -E 's/(.*):{2}(.*)/\1/')"
PR=$(echo $line | grep -Po '#\d+' | sed "s/#//")
if [ -z "$(echo $line | sed -E 's/(.*):{2}(.*)/\2/')" ]; then
MESSAGE=$(echo $SUBJECT | sed "s/(#$PR)//g"); else
MESSAGE=$(echo $line | sed -E 's/(.*):{2}(.*)/\2/')
fi
sed -i "/## Current Develop Branch/a - [#$PR]($URL$PR): $MESSAGE" CHANGELOG.md;
done <<< "$LOG"
echo "CHANGELOG updated"

@ -49,7 +49,8 @@
"disc": "gulp disc --debug",
"announce": "node development/announcer.js",
"version:bump": "node development/run-version-bump.js",
"storybook": "start-storybook -p 6006 -c .storybook"
"storybook": "start-storybook -p 6006 -c .storybook",
"update-changelog": "./auto-changelog.sh"
},
"browserify": {
"transform": [

Loading…
Cancel
Save