X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=dgit;h=6c1477cc1a2affccefb882dbda8550577096bae9;hb=fb64dcd0b68b73fa8f59edac53855dd303a7562f;hp=05e95dfb131e99173554bfc1de260101efe0ab5f;hpb=c94f82b90ecfb8def21bdb330dec14d94235642d;p=dgit.git diff --git a/dgit b/dgit index 05e95dfb..6c1477cc 100755 --- a/dgit +++ b/dgit @@ -1465,6 +1465,28 @@ sub i_localname_dsc { return $dscfn; } +sub i_want_signed_tag { + defined $i_param{'head'} && defined $dscfn + or badproto \*RO, "sequencing error"; + my $head = $i_param{'head'}; + die if $head =~ m/[^0-9a-f]/ || $head !~ m/^../; + + push_parse_dsc $i_dscfn, 'remote dsc', + + push_mktag $head, $i_clogp, $i_tag, + $dsc, $i_dscfn, + 'remote.changes', 'remote changes', + 'tag.tag'; + + return 'tag.tag'; +} + +sub i_want_signed_dsc_changes { + rename "$i_dscfn.tmp","$i_dscfn" or die "$i_dscfn $!"; + sign_changes 'remote.changes'; + return ($i_dscfn, 'remote.changes'); +} + #---------- building etc. ---------- our $version;