Dist-Zilla-PluginBundle-Author-GSG
view release on metacpan or search on metacpan
v0.0.4 2019-03-29T18:45:33
- Switch to Test::DZil instead of hand-rolled (Andrew Fresh)
- Improve docs for cutting a new release (Andrew Fresh)
v0.0.3 2019-03-27T02:20:30
- No changes found
v0.0.2 2019-03-27T02:20:30
- Move GitHub::UploadRelease after Git::Tag (Andrew Fresh)
- Help GitHub::UploadRelease find Git::Tag Plugin (Andrew Fresh)
- Add a _get_credentials backwards compat shim (Andrew Fresh)
v0.0.1 2019-03-27T01:48:40
- Move GitHub Plugins after Git Pugins (Andrew Fresh)
- Filter out the UploadToCPAN Plugin (Andrew Fresh)
- Documentation on how you're expected to use this (Andrew Fresh)
- Support main_module from dist.ini in Makefile (Andrew Fresh)
- Use perl instead of sed to parse dist.ini (Andrew Fresh)
- Simple explanation in CONTRIBUTING about how (Andrew Fresh)
- More documentation improvmenets (Andrew Fresh)
- Update README.md (Andrew Fresh)
lib/Dist/Zilla/PluginBundle/Author/GSG.pm view on Meta::CPAN
my $git_tag_plugin = $self->zilla->plugin_named('@Author::GSG/Git::Tag')
or $self->log_fatal('Plugin @Author::GSG/Git::Tag not found!');
# GitHub::UploadRelease looks for the Git::Tag Plugin with this name
local $git_tag_plugin->{plugin_name} = 'Git::Tag';
return $self->$orig(@args);
};
sub _get_credentials {
my ($self, $login_only) = @_;
my $creds = $self->_credentials;
# return $creds->{login} if $login_only;
my $otp;
$otp = $self->zilla->chrome->prompt_str(
"GitHub two-factor authentication code for '$creds->{login}'",
{ noecho => 1 },
) if $self->prompt_2fa;
return ( $creds->{login}, $creds->{pass}, $otp );
}
( run in 0.343 second using v1.01-cache-2.11-cpan-4d50c553e7e )