From 63a7638c0f8db139f9dbcf9eebcc3d5148f73af5 Mon Sep 17 00:00:00 2001 From: Michael Schout Date: Fri, 12 Aug 2022 11:22:23 -0500 Subject: [PATCH] Never sign git tags --- lib/Git/CPAN/Patch/Command/Import.pm | 2 +- lib/Git/CPAN/Patch/Import.pm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Git/CPAN/Patch/Command/Import.pm b/lib/Git/CPAN/Patch/Command/Import.pm index b87b054..a9bd6bf 100644 --- a/lib/Git/CPAN/Patch/Command/Import.pm +++ b/lib/Git/CPAN/Patch/Command/Import.pm @@ -257,7 +257,7 @@ END print $self->git_run('update-ref', '-m' => "import " . $release->dist_name, 'refs/remotes/cpan/master', $commit ); my $tag_name = $release->dist_version =~ /^v/ ? $release->dist_version : 'v'.$release->dist_version; - print $self->git_run( tag => $tag_name, $commit ); + print $self->git_run( tag => $tag_name, '--no-sign', $commit ); say "created tag '@{[ $tag_name ]}' ($commit)"; } diff --git a/lib/Git/CPAN/Patch/Import.pm b/lib/Git/CPAN/Patch/Import.pm index 210d18d..0024324 100644 --- a/lib/Git/CPAN/Patch/Import.pm +++ b/lib/Git/CPAN/Patch/Import.pm @@ -234,7 +234,7 @@ END if( $repo->run( "tag", "-l" => $tag ) ) { say "Tag $tag already exists, overwriting"; } - print $repo->run( "tag", "-f" => $tag, $commit ); + print $repo->run( "tag", "-f" => $tag, '--no-sign', $commit ); say "created tag '$tag' ($commit)"; } } @@ -516,7 +516,7 @@ END print $repo->run('update-ref', '-m' => "import $dist", 'refs/remotes/cpan/master', $commit ); - print $repo->run( tag => $version, $commit ); + print $repo->run( tag => $version, '--no-sign', $commit ); say "created tag '$version' ($commit)"; }