Dist::Zilla::Plugin::SVK::Tag - tag the new version
version 0.10
In your dist.ini:
[SVK::Tag] 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.
tag_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.
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.
$dzilla-
tag_directory - location of the tags directory, below the project directory. Defaults to tags.
tags
You can use the following codes in both options:
%{dd-MMM-yyyy}d
The current date. You can use any CLDR format supported by DateTime. A bare %d means %{dd-MMM-yyyy}d.
%d
%n
a newline
%N
the distribution name
%v
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.
To install Dist::Zilla::Plugin::SVK, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::SVK
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::SVK
For more information on module installation, please visit the detailed CPAN module installation guide.