Dist-Zilla-Plugin-Twitter
view release on metacpan or search on metacpan
lib/Dist/Zilla/Plugin/Twitter.pm view on Meta::CPAN
The C<< META{...} >> replacement may also have one of two modifiers, which
are prefixed directly before C<META>:
=over 4
=item C<!> - URL shortening
Providing an exclamation point (C<< !META{...} >>) will URL-shorten the value
you extract from the distmeta data structure. This will have no effect unless
the value is a URL to begin with.
=item C<@> - Arrayref stringification
Providing an at-symbol (C<< @META{...} >>) will include all the elements of
the arrayref you specify by joining them with C<$">. So, this is just like
doing C<< "@{ $your_array_ref }" >>.
=back
So, for example, to use the GitHub home of the project instead of its metacpan
page, one can do:
[Twitter]
tweet = Released {{$DIST}}-{{$VERSION}}{{$TRIAL}} !META{resource}{repository}{web}
url_shortener = TinyURL
Or, to include the authors in your tweet:
[Twitter]
tweet = @META{author} released {{$MODULE}} {{$VERSION}}: {{$URL}}
=head2 PAUSEID
You must be using the C<UploadToCPAN> or C<FakeRelease> plugin for this plugin to
determine your PAUSEID.
=head2 HASHTAGS
You can use the C<hash_tags> option to append hash tags (or anything,
really) to the end of the message generated from C<tweet>.
[Twitter]
hash_tags = #perl #cpan #foo
=for test_synopsis 1;
__END__
=for Pod::Coverage after_release
=head1 AVAILABILITY
The latest version of this module is available from the Comprehensive Perl
Archive Network (CPAN). Visit L<http://www.perl.com/CPAN/> to find a CPAN
site near you, or see L<https://metacpan.org/module/Dist::Zilla::Plugin::Twitter/>.
=head1 SOURCE
The development version is on github at L<http://github.com/dagolden/dist-zilla-plugin-twitter>
and may be cloned from L<git://github.com/dagolden/dist-zilla-plugin-twitter.git>
=head1 BUGS AND LIMITATIONS
You can make new bug reports, and view existing ones, through the
web interface at L<https://github.com/dagolden/dist-zilla-plugin-twitter/issues>.
=head1 AUTHORS
=over 4
=item *
David Golden <dagolden@cpan.org>
=item *
Mike Doherty <doherty@cpan.org>
=back
=head1 COPYRIGHT AND LICENSE
This software is Copyright (c) 2014 by David Golden.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
=cut
( run in 1.007 second using v1.01-cache-2.11-cpan-39bf76dae61 )