Dist::...it::Tag(3pm)
π Dist::Zilla::Plugin::Git::Tag π
okay bestie, so this is a page out of the User Contributed Perl Documentation, and it's all about Dist::Zilla::Plugin::Git::Tag β aka the little plugin that tags your new version in git. π
VERSION: version 2.052 β¨ (yes, she's on 2.052, we love a stable queen)
πΈ SYNOPSIS πΈ
drop this in your dist.ini and you're literally set:
[Git::Tag]
tag_format = v%V ; this is the default
tag_message = v%V ; this is the default
π DESCRIPTION π
so once the release is done, this plugin records that fact in git by creating a tag. that's the whole vibe. π¦
by default it makes an annotated tag. you can set the tag_message attribute to change the message. and if you set tag_message to the empty string? that's a lightweight tag, no cap.
it also checks before the release to make sure the tag it's about to create doesn't already exist. so if the tag IS already there, you'd have to manually delete the existing tag before you could release the same version again β but um, that is almost never a good idea, bestie. don't do that. π
β¨ Plugin options β¨
the plugin accepts the following options, and yes, we're going through all of them:
tag_formatβ the format of the tag to apply. defaults tov%V. πtag_messageβ the format of the tag annotation. defaults tov%V. usetag_message =to create a lightweight tag. the formatting codes used intag_formatandtag_messageare documented underDist::Zilla::Role::Git::StringFormatter. iykyk. π₯time_zoneβ the time zone to use with%d. can be any time zone name accepted byDateTime. defaults tolocal.branchβ which branch to tag. defaults to the current branch.signedβ whether to make a GPG-signed tag, using the default e-mail address's key. consider settinguser.signingkeyifgpgcan't find the correct key:
$ git config user.signingkey 450F89EC
π METHODS π
π tag
my $tag = $plugin->tag;
returns the tag that will be / has been applied by the plugin. that is, it returns tag_format as completed with the real values. periodt. π
π«Ά SUPPORT π«Ά
bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-Git> (or bug-Dist-Zilla-Plugin-Git@rt.cpan.org <mailto:bug-Dist-Zilla-Plugin-Git@rt.cpan.org>).
there's also a mailing list available for users of this distribution, at <http://dzil.org/#mailing-list>.
and there's also an irc channel available for users of this distribution, at #distzilla on irc.perl.org <irc://irc.perl.org/#distzilla>. come hang out, it's giving community. π
π AUTHOR π
Jerome Quelin
β COPYRIGHT AND LICENCE β
this software is copyright (c) 2009 by Jerome Quelin.
this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. π§
and that's the whole page, bestie! πΈ this one's from perl v5.40.1, dated 2025-09-29, and it's the Dist::...it::Tag page (3pm manual, in case the header was being mysterious). go tag those releases, stay iconic, and remember: don't delete old tags to re-release the same version. main character energy only. πβ¨
π¦ where this page comes from
- ubuntu resolute: libdist-zilla-plugin-git-perl 2.052-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdist-zilla-plugin-git-perl 2.052-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms