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:
parent
82bbfb540b
commit
1a49ae234d
1171
CHANGELOG.md~
Normal file
1171
CHANGELOG.md~
Normal file
File diff suppressed because it is too large
Load Diff
@ -16,7 +16,11 @@ while read -r line; do
|
||||
BODY=$(echo $line | sed -E 's/(.*):{2}(.*)/\2/')
|
||||
fi
|
||||
# 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;
|
||||
fi
|
||||
done <<< "$LOG"
|
||||
echo 'CHANGELOG updated'
|
||||
|
Loading…
Reference in New Issue
Block a user