Further testing release script..
authorJose A. Rivera <jarrpa@redhat.com>
Tue, 5 Jun 2012 21:27:13 +0000 (16:27 -0500)
committerJose A. Rivera <jarrpa@redhat.com>
Tue, 5 Jun 2012 21:27:13 +0000 (16:27 -0500)
scripts/git_do_release.py

index 71d3c8f11d43222113b3a19bf69d8af3eabd23f3..ebd9dea58aef6ce61d4499ef3d0ecb9acd405933 100755 (executable)
@@ -5,7 +5,7 @@
 #
 # Copyright (C) 2012 Jose A. Rivera <jarrpa@redhat.com>
 #
-# $Date: 2012-06-05 16:23:55 -0500$
+# $Date: 2012-06-05 16:27:13 -0500$
 #
 # ---------------------------------------------------------------------------- #
 #
@@ -45,7 +45,7 @@ from ConfigParser import SafeConfigParser
 # Globals ----------------------------------------------------------------------
 #
 verstr   = '%(prog)s Pre-Alpha'
-idstr    = '$Id: git_do_release.py 2012-06-05 16:23:55 -0500 Jose A. Rivera$'
+idstr    = '$Id: git_do_release.py 2012-06-05 16:27:13 -0500 Jose A. Rivera$'
 copystr  = 'Copyright (C) 2012 Jose A. Rivera <jarrpa@redhat.com>'
 gplstr   = '  GNU General Public License, version 3'
 version  = '\n'.join([verstr, idstr[1:-1], copystr, gplstr])
@@ -207,6 +207,7 @@ def update_release_number( release, fileglobs, pathsdict ):
     newfn = os.path.join(reporoot, os.path.join(paths[0], 'release.h'))
     newfile = open(newfn,'w+b')
     newfile.write(dot_h)
+    sys.exit(newfile.read())
     newfile.close()
     matches.append(newfn)
   elif len(matches) > 1: