#
# Copyright (C) 2012 Jose A. Rivera <jarrpa@redhat.com>
#
-# $Date: 2012-06-06 16:43:56 -0500$
+# $Date: 2012-06-06 16:48:03 -0500$
#
# ---------------------------------------------------------------------------- #
#
# Globals ----------------------------------------------------------------------
#
verstr = '%(prog)s Pre-Alpha'
-idstr = '$Id: git_do_release.py 2012-06-06 16:43:56 -0500 Jose A. Rivera$'
+idstr = '$Id: git_do_release.py 2012-06-06 16:48:03 -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])
# Switch to release branch, apply diffs, commit and tag the new release.
- git('checkout ' + rebranch)
- git('apply -', input=difftmp.read())
+ print git('checkout ' + rebranch)
+ print git('apply -', input=difftmp.read())
difftmp.close()
- git('add -A')
- git('commit -am "' + message + '"')
- git('tag -m "' + message + '" ' + release)
+ print git('add -A')
+ print git('commit -am "' + message + '"')
+ print git('tag -m "' + message + '" ' + release)
# Return to original working branch.
git('checkout ' + cur_branch)