scripts: create-release pass -n to tail

Some versions of tail don't accept "tail +4".
This commit is contained in:
Willy Tarreau 2017-06-16 12:35:54 +02:00
parent 68986abe93
commit 2c44cd8a37

View File

@ -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 ..."