From: Ian Jackson Date: Thu, 22 Aug 2013 14:18:27 +0000 (+0100) Subject: Support dgit-distro..keyid config option. X-Git-Tag: debian/0.4_pre2~2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=377e1c315cc73e5364506cf5eb601de130f72c77 Support dgit-distro..keyid config option. --- 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 . *