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:
parent
e1a6feb2d5
commit
0d65762168
@ -83,7 +83,7 @@ class Git(object):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def commit(msg):
|
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)
|
return run(cmd).decode(ENCODING)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
@ -394,7 +394,7 @@ class Release(object):
|
|||||||
def make(self):
|
def make(self):
|
||||||
Git.add('offlineimap/__init__.py')
|
Git.add('offlineimap/__init__.py')
|
||||||
Git.add('Changelog.md')
|
Git.add('Changelog.md')
|
||||||
commitMsg = "{}\n".format(newVersion)
|
commitMsg = "v{}\n".format(newVersion)
|
||||||
for tester in self.testers.getListOk():
|
for tester in self.testers.getListOk():
|
||||||
commitMsg = "{}\nTested-by: {} {}".format(
|
commitMsg = "{}\nTested-by: {} {}".format(
|
||||||
commitMsg, tester.getName(), tester.getEmail()
|
commitMsg, tester.getName(), tester.getEmail()
|
||||||
|
Loading…
Reference in New Issue
Block a user