Dist::Zilla::Plugin::CheckStrictVersion - BeforeRelease plugin to check for a strict version number
In your dist.ini file:
decimal_only = 1
This module enforces strict versions, with optional enforcement of 'decimal' or 'tuple' (a.k.a 'dotted decimal') forms.
As a reminder, here are the rules for strict versions from version::Internals:
For dotted-decimal versions, a leading 'v' is required, with three
or more sub-versions of no more than three digits. A leading 0
(zero) before the first sub-version (in the above example, '1') is
For decimal versions, an integer portion (no leading 0), a decimal
point, and one or more digits to the right of the decimal are all
If true, only a decimal (non-tuple) version is allowed. Default is false.
If true, only a tuple (a.k.a. 'dotted-decimal') version is allowed. Default is false.
Version numbers should be boring
Please report any bugs or feature requests through the issue tracker at https://github.com/dagolden/Dist-Zilla-Plugin-CheckStrictVersion/issues. You will be notified automatically of any progress on your issue.
This is open source software. The code repository is available for public review and contribution under the terms of the license.
git clone https://github.com/dagolden/Dist-Zilla-Plugin-CheckStrictVersion.git
David Golden <firstname.lastname@example.org>
This software is Copyright (c) 2014 by David Golden.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
To install Dist::Zilla::Plugin::CheckStrictVersion, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.