mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
provide automatic changelog since last tag for linux
This commit is contained in:
parent
592e6bddfb
commit
6dce32fc1e
@ -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.
|
||||
|
||||
|
14
auto-changelog.sh
Executable file
14
auto-changelog.sh
Executable file
@ -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…
Reference in New Issue
Block a user