From 0d65762168398cb8210119eaa8bdeb2c2ba7a31e Mon Sep 17 00:00:00 2001 From: Nicolas Sebrecht Date: Sun, 8 Oct 2017 16:20:59 +0200 Subject: [PATCH] contrib/release/py: fix the 'v' character in commit message Signed-off-by: Nicolas Sebrecht --- contrib/helpers.py | 2 +- contrib/release.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/helpers.py b/contrib/helpers.py index 6482dce..6adad18 100644 --- a/contrib/helpers.py +++ b/contrib/helpers.py @@ -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 diff --git a/contrib/release.py b/contrib/release.py index c61308f..8719d6e 100755 --- a/contrib/release.py +++ b/contrib/release.py @@ -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()