Dist::Zilla::Plugin::SVK::Tag - tag the new version


version 0.10


In your dist.ini:

    tag_format  = v%v       ; this is the default
    tag_message = v%v       ; this is the default
        project = someid        ; the default is lc $dzilla->name,
        tag_directory = tags    ; the default is 'tags', as in /$project/tags


Once the release is done, this plugin will record this fact by creating a tag of the present branch. You can set the tag_message attribute to change the message.

It also checks before the release to ensure the tag to be created doesn't already exist. (You would have to manually delete the existing tag before you could release the same version again, but that is almost never a good idea.)

The plugin accepts the following options:

  • tag_format - format of the tag to apply. Defaults to v%v.

  • tag_message - format of the commit message. Defaults to v%v.

  • project - the project directory, below which typically are 'trunk', 'branches' and 'tags' subdirectories. Defaults to $dzilla-name>, lowercased.

  • tag_directory - location of the tags directory, below the project directory. Defaults to tags.

You can use the following codes in both options:


The current date. You can use any CLDR format supported by DateTime. A bare %d means %{dd-MMM-yyyy}d.


a newline


the distribution name


the distribution version

 -- role implementation

Depotpath from second line of 'svk info'. Depotname from after first slash. Project from dist.ini, is directory under depotname.


Dr Bean <drbean at (a) cpan dot (.) org>


This software is copyright (c) 2010 by Dr Bean.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.