projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68986ab
)
scripts: create-release pass -n to tail
author
Willy Tarreau
<w@1wt.eu>
Fri, 16 Jun 2017 10:35:54 +0000
(12:35 +0200)
committer
Willy Tarreau
<w@1wt.eu>
Fri, 16 Jun 2017 10:35:54 +0000
(12:35 +0200)
Some versions of tail don't accept "tail +4".
scripts/create-release
patch
|
blob
|
history
diff --git
a/scripts/create-release
b/scripts/create-release
index
21649c9
..
488c0ce
100755
(executable)
--- a/
scripts/create-release
+++ b/
scripts/create-release
@@
-156,7
+156,7
@@
echo "Updating CHANGELOG ..."
#git shortlog v$OLD.. | sed -ne 's/^ / - /p'
git log --oneline --reverse --format=" - %s" v$OLD..
echo
- tail +4 CHANGELOG
+ tail -n +4 CHANGELOG
) >.chglog.tmp && mv .chglog.tmp CHANGELOG
echo "Updating VERSION ..."