1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

detect os

This commit is contained in:
Esteban MIno 2018-11-08 19:04:38 -03:00 committed by Dan Finlay
parent 82bbfb540b
commit 1a49ae234d
2 changed files with 1176 additions and 1 deletions

1171
CHANGELOG.md~ Normal file

File diff suppressed because it is too large Load Diff

View File

@ -16,7 +16,11 @@ while read -r line; do
BODY=$(echo $line | sed -E 's/(.*):{2}(.*)/\2/') BODY=$(echo $line | sed -E 's/(.*):{2}(.*)/\2/')
fi fi
# add entry to CHANGELOG # add entry to CHANGELOG
sed -i'' '/## Current Develop Branch/a\ if [[ "$OSTYPE" == "linux-gnu" ]]; then
sed -i'' '/## Current Develop Branch/a\
- [#'"$PR"']('"$URL"'/pull/'"$PR"'): '"$BODY"''$'\n' CHANGELOG.md; else
sed -i '' '/## Current Develop Branch/a\
- [#'"$PR"']('"$URL"'/pull/'"$PR"'): '"$BODY"''$'\n' CHANGELOG.md; - [#'"$PR"']('"$URL"'/pull/'"$PR"'): '"$BODY"''$'\n' CHANGELOG.md;
fi
done <<< "$LOG" done <<< "$LOG"
echo 'CHANGELOG updated' echo 'CHANGELOG updated'