You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2019/04/07 06:50:03 UTC

svn commit: r1857064 - /httpd/site/trunk/tools/push.sh

Author: jailletc36
Date: Sun Apr  7 06:50:03 2019
New Revision: 1857064

URL: http://svn.apache.org/viewvc?rev=1857064&view=rev
Log:
Clean-up the bottom of the generated CHANGES_x.y.z files as reported by Niklas Edmundsson <nikke acc.umu.se> on the dev mailing list.

No need to make any reference to 2.0, 2.2 or 2.3 here, this file is specific to CHANGES in the last release only.

Modified:
    httpd/site/trunk/tools/push.sh

Modified: httpd/site/trunk/tools/push.sh
URL: http://svn.apache.org/viewvc/httpd/site/trunk/tools/push.sh?rev=1857064&r1=1857063&r2=1857064&view=diff
==============================================================================
--- httpd/site/trunk/tools/push.sh (original)
+++ httpd/site/trunk/tools/push.sh Sun Apr  7 06:50:03 2019
@@ -71,11 +71,10 @@ if test "dev" = "$repo";then
     latest_release=`ls "$release_base"/httpd-${major}.${minor}.*.tar.gz | grep -o '[0-9]\+\.[0-9]\+\.[0-9]\+' | sort -r | head -1`
   fi
 
-  #Delete all lines between the current release and the note about -dev version
+  #Delete all lines after the current release
   cat CHANGES_$major.$minor | perl -e '
     while(<STDIN>){
       $d=1 if /Changes with Apache '$latest_release'/;
-      $d=0 if /^  \[/;
       print if !$d;
     }' > "$dev_base"/CHANGES_$version