From 2b4c4fe9f3623ae6b84c785abf15c3f8fa15e5da Mon Sep 17 00:00:00 2001 From: Ben Shum Date: Thu, 14 Aug 2014 12:36:16 -0400 Subject: [PATCH 1/1] Fixes for create_release_notes.sh 1) Teach it to ignore the sample RELEASE_NOTES_NEXT.txt file 2) Add a proper section for "New Features" heading, instead of defaulting everything under the "Upgrade notes" heading. Note: Will still require manually moving any upgrade notes to the right place post-compile. Signed-off-by: Ben Shum --- docs/RELEASE_NOTES_NEXT/create_release_notes.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/RELEASE_NOTES_NEXT/create_release_notes.sh b/docs/RELEASE_NOTES_NEXT/create_release_notes.sh index 79ab28a17e..47d6e7ddb1 100755 --- a/docs/RELEASE_NOTES_NEXT/create_release_notes.sh +++ b/docs/RELEASE_NOTES_NEXT/create_release_notes.sh @@ -26,6 +26,9 @@ echo Upgrade notes >> $outfile echo ------------- >> $outfile echo >> $outfile +echo New Features >> $outfile +echo ------------ >> $outfile +echo >> $outfile for i in `ls -l|grep ^d|awk '{print $9}'`; do files=$(ls $i/*txt 2>/dev/null) @@ -47,7 +50,7 @@ for i in `ls -l|grep ^d|awk '{print $9}'`; do fi done -files=$(ls *txt 2>/dev/null) +files=$(ls *txt 2>/dev/null | grep -v 'RELEASE_NOTE_TEMPLATE.txt') if [ "_$files" != "_" ]; then echo >> $outfile echo Miscellaneous >> $outfile -- 2.43.2