summaryrefslogtreecommitdiff
path: root/gbp/git.py
diff options
context:
space:
mode:
Diffstat (limited to 'gbp/git.py')
-rw-r--r--gbp/git.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gbp/git.py b/gbp/git.py
index 31d7cab..b533116 100644
--- a/gbp/git.py
+++ b/gbp/git.py
@@ -456,7 +456,8 @@ class GitRepository(object):
args = []
args += [ '-m', msg ] if msg else []
if sign:
- args += [ '-u', keyid ] if keyid else [ '-s' ]
+ args += [ '-s' ]
+ args += [ '-u', keyid ] if keyid else []
args += [ name ]
args += [ commit ] if commit else []
self._git_command("tag", args)