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 to v%V. πŸ’–
  • tag_message β€” the format of the tag annotation. defaults to v%V. use tag_message = to create a lightweight tag. the formatting codes used in tag_format and tag_message are documented under Dist::Zilla::Role::Git::StringFormatter. iykyk. πŸ”₯
  • time_zone β€” the time zone to use with %d. can be any time zone name accepted by DateTime. defaults to local.
  • 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 setting user.signingkey if gpg can'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


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