You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by dr...@apache.org on 2019/03/31 03:35:14 UTC
svn commit: r1856654 - /httpd/site/trunk/tools/push.sh
Author: druggeri
Date: Sun Mar 31 03:35:14 2019
New Revision: 1856654
URL: http://svn.apache.org/viewvc?rev=1856654&view=rev
Log:
Fix inverted logic for `svn add` after copying missing CHANGES_maj.min file
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=1856654&r1=1856653&r2=1856654&view=diff
==============================================================================
--- httpd/site/trunk/tools/push.sh (original)
+++ httpd/site/trunk/tools/push.sh Sun Mar 31 03:35:14 2019
@@ -89,11 +89,11 @@ if test "dev" = "$repo";then
#Place the latest maj.min CHANGES file
if test -f "$dev_base"/CHANGES_${major}.${minor};then
cp "$dir"/CHANGES_${major}.${minor} "$dev_base"/
+ else
+ cp "$dir"/CHANGES_${major}.${minor} "$dev_base"/
#File does not exist, so must be added to change set
svn add "$dev_base"/CHANGES_${major}.${minor}
- else
- cp "$dir"/CHANGES_${major}.${minor} "$dev_base"/
fi
#Prep announcement files with latest version