#
# Copyright (C) 2012 Jose A. Rivera <jarrpa@redhat.com>
#
-# $Date: 2012-06-05 17:30:54 -0500$
+# $Date: 2012-06-05 17:35:52 -0500$
#
# ---------------------------------------------------------------------------- #
#
# Globals ----------------------------------------------------------------------
#
verstr = '%(prog)s Pre-Alpha'
-idstr = '$Id: git_do_release.py 2012-06-05 17:30:54 -0500 Jose A. Rivera$'
+idstr = '$Id: git_do_release.py 2012-06-05 17:35:52 -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])
if release is None:
sys.exit( 'FATAL ERROR: Unable to detect release string. Please provide' + \
' one in a config file or on the command line.' )
- status = git('status --porcelain').split('\n')
- for line in status:
- if not line:
- status.pop(status.index(line))
- if len(status):
- git('add -A')
+ git('add -A')
# Commit release changes to current branch.
git('commit -a', interactive=True)