dist::zilla::plugin::git::nextversion(3pm) [debian man page]
Dist::Zilla::Plugin::Git::NextVersion(3pm) User Contributed Perl Documentation Dist::Zilla::Plugin::Git::NextVersion(3pm)NAME
Dist::Zilla::Plugin::Git::NextVersion - provide a version number by bumping the last git release tag
VERSION
version 1.121820
SYNOPSIS
In your dist.ini:
[Git::NextVersion]
first_version = 0.001 ; this is the default
version_regexp = ^v(.+)$ ; this is the default
DESCRIPTION
This does the Dist::Zilla::Role::VersionProvider role. It finds the last version number from your git tags, increments it using
Version::Next, and uses the result as the "version" parameter for your distribution.
The plugin accepts the following options:
o "first_version" - if the repository has no tags at all, this version is used as the first version for the distribution. It defaults to
"0.001".
o "version_regexp" - regular expression that matches a tag containing a version. It must capture the version into $1. Defaults to
^v(.+)$ which matches the default "tag_format" from Dist::Zilla::Plugin::Git::Tag. If you change "tag_format", you must set a
corresponsing "version_regexp".
You can also set the "V" environment variable to override the new version. This is useful if you need to bump to a specific version. For
example, if the last tag is 0.005 and you want to jump to 1.000 you can set V = 1.000.
$ V=1.000 dzil release
AUTHOR
Jerome Quelin
COPYRIGHT AND LICENSE
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.
perl v5.14.2 2012-06-30 Dist::Zilla::Plugin::Git::NextVersion(3pm)
Check Out this Related Man Page
Dist::Zilla::PluginBundle::Classic(3pm) User Contributed Perl Documentation Dist::Zilla::PluginBundle::Classic(3pm)NAME
Dist::Zilla::PluginBundle::Classic - the classic (old) default configuration for Dist::Zilla
VERSION
version 4.300020
DESCRIPTION
This bundle is more or less the original configuration bundled with Dist::Zilla. More than likely, you'd rather be using @Basic or a more
complex bundle. This one will muck around with your code by adding $VERSION declarations and will mess with you Pod by adding a "=head1
VERSION" section, but it won't get you a lot of more useful features like autoversioning, autoprereqs, or Pod::Weaver.
It includes the following plugins with their default configuration:
o Dist::Zilla::Plugin::GatherDir
o Dist::Zilla::Plugin::PruneCruft
o Dist::Zilla::Plugin::ManifestSkip
o Dist::Zilla::Plugin::MetaYAML
o Dist::Zilla::Plugin::License
o Dist::Zilla::Plugin::Readme
o Dist::Zilla::Plugin::PkgVersion
o Dist::Zilla::Plugin::PodVersion
o Dist::Zilla::Plugin::PodCoverageTests
o Dist::Zilla::Plugin::PodSyntaxTests
o Dist::Zilla::Plugin::ExtraTests
o Dist::Zilla::Plugin::ExecDir
o Dist::Zilla::Plugin::ShareDir
o Dist::Zilla::Plugin::MakeMaker
o Dist::Zilla::Plugin::Manifest
o Dist::Zilla::Plugin::ConfirmRelease
o Dist::Zilla::Plugin::UploadToCPAN
SEE ALSO
@Basic
AUTHOR
Ricardo SIGNES <rjbs@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-06-21 Dist::Zilla::PluginBundle::Classic(3pm)
Hi,
I have string in variable like '/u/dolfin/in/DOLFIN.PRL_100.OIB.TLU.001.D20110520.T040010'
and i want to conevrt this string into only "DOLFIN.PRL_100.OIB.TLU.001.D20110520.T040010" (i.e file name).
Is there any command to extracting string in some part ?(rather than whole path)?
... (5 Replies)