contrib/release/py: fix the 'v' character in commit message

Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Nicolas Sebrecht 2017-10-08 16:20:59 +02:00
parent e1a6feb2d5
commit 0d65762168
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ class Git(object):
@staticmethod
def commit(msg):
cmd = shlex.split("git commit -s -m 'v{}'".format(msg))
cmd = shlex.split("git commit -s -m '{}'".format(msg))
return run(cmd).decode(ENCODING)
@staticmethod

View File

@ -394,7 +394,7 @@ class Release(object):
def make(self):
Git.add('offlineimap/__init__.py')
Git.add('Changelog.md')
commitMsg = "{}\n".format(newVersion)
commitMsg = "v{}\n".format(newVersion)
for tester in self.testers.getListOk():
commitMsg = "{}\nTested-by: {} {}".format(
commitMsg, tester.getName(), tester.getEmail()