Dist::Zilla::Plugin::Git::Check - check your git repository before releasing
In your dist.ini:
[Git::Check] allow_dirty = dist.ini allow_dirty = README changelog = Changes ; this is the default untracked_files = die ; default value (can also be "warn" or "ignore")
This plugin checks that git is in a clean state before releasing. The following checks are performed before releasing:
allow_dirtycan be modified locally, though.
If those conditions are not met, the plugin will die, and the release will thus be aborted. This lets you fix the problems before continuing.
The plugin accepts the following options:
changelog. You can use
allow_dirty =to prohibit all local modifications.
warnlists the untracked files, while
ignoreonly prints the total number of untracked files.
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.