You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2013/05/04 01:48:21 UTC

svn commit: r1479012 - /subversion/trunk/tools/dist/release.py

Author: breser
Date: Fri May  3 23:48:21 2013
New Revision: 1479012

URL: http://svn.apache.org/r1479012
Log:
Fix release.py create-tag command to deal with version svn_version.h.dist files.

Follow up to r1464654 apparently missed this case.

* tools/dist/release.py:
  (create_tag): Add the version number to the source of the svn_version.h
    file name. 

Modified:
    subversion/trunk/tools/dist/release.py

Modified: subversion/trunk/tools/dist/release.py
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dist/release.py?rev=1479012&r1=1479011&r2=1479012&view=diff
==============================================================================
--- subversion/trunk/tools/dist/release.py (original)
+++ subversion/trunk/tools/dist/release.py Fri May  3 23:48:21 2013
@@ -527,7 +527,8 @@ def create_tag(args):
         svnmucc_cmd += ['--username', args.username]
     svnmucc_cmd += ['cp', str(args.revnum), branch, tag]
     svnmucc_cmd += ['put', os.path.join(get_deploydir(args.base_dir),
-                                        'svn_version.h.dist'),
+                                        'svn_version.h.dist' + '-' +
+                                        str(args.version)),
                     tag + '/subversion/include/svn_version.h']
 
     # don't redirect stdout/stderr since svnmucc might ask for a password