This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-connectors.git


The following commit(s) were added to refs/heads/main by this push:
     new 3ad622409 Skip the menu when processing news into text
3ad622409 is described below

commit 3ad622409ae3335df9f353bef8ebc4d72a70fd6d
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Sep 6 18:31:32 2023 +0100

    Skip the menu when processing news into text
---
 tools/jkrelease.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/jkrelease.sh b/tools/jkrelease.sh
index 29263b665..c1f717691 100755
--- a/tools/jkrelease.sh
+++ b/tools/jkrelease.sh
@@ -433,7 +433,7 @@ for news in `ls -r 
../xdocs/news/[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9].xml`
 do
   print=`echo $news | sed -e 's#xdocs/news#docs/news#' -e 's#\.xml#.html#'`
   echo "Adding $print to NEWS file ..."
-  ${TOOL} $print >>NEWS
+  ${TOOL} $print | awk '/[0-9][0-9][0-9][0-9] News/ {o=1} o>0' >> NEWS
 done
 if [ ! -s NEWS ]
 then


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to