From 377e1c315cc73e5364506cf5eb601de130f72c77 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 22 Aug 2013 15:18:27 +0100 Subject: [PATCH] Support dgit-distro..keyid config option. --- debian/changelog | 1 + dgit | 3 +++ dgit.1 | 2 ++ 3 files changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index e14257fe..f0a3cb28 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ dgit (0.4~pre2) experimental; urgency=low * Mangle debian/ tags the way git-buildpackage does (as of git-buildpackage 0.5.5, 3c6bbd0f4992f8da). + * Support dgit-distro..keyid config option. -- diff --git a/dgit b/dgit index c20ed35e..78a0e31d 100755 --- a/dgit +++ b/dgit @@ -815,6 +815,9 @@ sub dopush () { print "[new .dsc left in $dscfn.tmp]\n"; } if ($sign) { + if (!defined $keyid) { + $keyid = access_cfg('keyid','RETURN-UNDEF'); + } my @tag_cmd = (@git, qw(tag -s -m), "Release $dversion for $csuite [dgit]"); push @tag_cmd, qw(-u),$keyid if defined $keyid; diff --git a/dgit.1 b/dgit.1 index 28ec02ee..ee78e1b4 100644 --- a/dgit.1 +++ b/dgit.1 @@ -411,6 +411,8 @@ on the dgit command line. .TP .BI dgit-distro. distro .ssh .TP +.BI dgit-distro. distro .keyid +.TP .BR dgit.default. * for each .BR dgit-distro. \fIdistro\fR . * -- 2.30.2