subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1802302 - /subversion/trunk/tools/dist/release.py
Date Tue, 18 Jul 2017 14:40:50 GMT
Author: danielsh
Date: Tue Jul 18 14:40:50 2017
New Revision: 1802302

URL: http://svn.apache.org/viewvc?rev=1802302&view=rev
Log:
* tools/dist/release.py
  (post_candidates): De-duplicate the SVN_VER_NUMBER reconstruction logic.

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=1802302&r1=1802301&r2=1802302&view=diff
==============================================================================
--- subversion/trunk/tools/dist/release.py (original)
+++ subversion/trunk/tools/dist/release.py Tue Jul 18 14:40:50 2017
@@ -593,9 +593,7 @@ def post_candidates(args):
     target = get_target(args)
 
     logging.info('Importing tarballs to %s' % dist_dev_url)
-    ver = args.version.base
-    if args.version.pre:
-        ver = "%s-%s%d" % (ver, args.version.pre, args.version.pre_num)
+    ver = str(args.version)
     svn_cmd = ['svn', 'import', '-m',
                'Add Subversion %s candidate release artifacts' % ver,
                '--auto-props', '--config-option',



Mime
View raw message