- SEE ALSO
- COPYRIGHT AND LICENSE
Dist::Zilla::Plugin::CheckStrictVersion - BeforeRelease plugin to check for a strict version number
In your dist.ini file:
[CheckStrictVersion] 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:
v1.234.5 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 also prohibited. 2.3456 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 required.
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.
Bugs / Feature Requests
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 <email@example.com>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2014 by David Golden.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004