aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido G√ľnther <agx@sigxcpu.org>2008-12-28 23:55:12 +0100
committerGuido Guenther <agx@sigxcpu.org>2008-12-28 23:55:12 +0100
commite806326c1138f2a6b4b32eb9dc5c0125396fcd7a (patch)
tree3b0e5fe95efc7219bcfe95715522f96eecc02a73
parent1cce0b50074dd825e7a2d93675d9e4e0ea48f558 (diff)
add --no-sign-tags
Closes: #508889
-rw-r--r--gbp/config.py2
-rwxr-xr-xgit-buildpackage1
2 files changed, 3 insertions, 0 deletions
diff --git a/gbp/config.py b/gbp/config.py
index 8814cd7..cb524df 100644
--- a/gbp/config.py
+++ b/gbp/config.py
@@ -58,6 +58,8 @@ class GbpOptionParser(OptionParser):
"format string for upstream tags, default is '%(upstream-tag)s'",
'sign-tags':
"sign tags, default is '%(sign-tags)s'",
+ 'no-sign-tags':
+ "negates sign-tags",
'keyid':
"GPG keyid to sign tags with, default is '%(keyid)s'",
'pristine-tar':
diff --git a/git-buildpackage b/git-buildpackage
index 4324902..f00e227 100755
--- a/git-buildpackage
+++ b/git-buildpackage
@@ -156,6 +156,7 @@ def main(argv):
tag_group.add_option("--git-tag-only", action="store_true", dest="tag_only", default=False,
help="don't build, only tag and run the posttag hook")
tag_group.add_config_file_option(option_name="sign-tags", dest="sign_tags", action="store_true")
+ tag_group.add_config_file_option(option_name="no-sign-tags", dest="sign_tags", action="store_false")
tag_group.add_config_file_option(option_name="keyid", dest="keyid")
tag_group.add_config_file_option(option_name="debian-tag", dest="debian_tag")
tag_group.add_config_file_option(option_name="upstream-tag", dest="upstream_tag")