projects
/
platform
/
upstream
/
nodejs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
win,msi: broadcast WM_SETTINGCHANGE after install
[platform/upstream/nodejs.git]
/
tools
/
changelog-head.sh
1
#!/bin/bash
2
cat CHANGELOG.md | {
3
s=-1
4
while read line; do
5
if [ "${line:0:1}" == "-" ]; then
6
line=" $line"
7
fi
8
if [ "${line:0:1}" == "2" ]; then
9
let "++s"
10
fi
11
if [ $s -eq 1 ]; then
12
exit
13
else
14
echo "$line"
15
fi
16
done
17
}
18