Dist::Zilla::PluginBundle::Author::Celogeek is the bundle of Celogeek, and is equivalent to create this dist.ini:
[Git::NextVersion]
first_version = 0.01
[NextRelease]
[@Git]
allow_dirty = Changes
allow_dirty = dist.ini
allow_dirty = README.mkdn
add_files_in = Changes
add_files_in = dist.ini
add_files_in = README.mkdn
[@Filter]
-bundle = @Basic
-remove = MakeMaker
[ModuleBuild]
[ReportVersions]
[OurPkgVersion]
[Prepender]
copyright = 1
[AutoPrereqs]
[Prereqs]
[MinimumPerl]
[Test::Compile]
[CheckChangeLog]
[Test::UnusedVars]
[PruneFiles]
[ReadmeMarkdownFromPod]
[MetaResourcesFromGit]
bugtracker.web = https://github.com/%a/%r/issues
[MetaConfig]
[PodWeaver]
config_plugin = @Celogeek
[Run::BeforeRelease]
run = cp %d%pREADME.mkdn .
[PerlTidy]
perltidyrc = xt/.perltidyrc
Here a simple dist.ini :
name = MyTest
license = Perl_5
copyright_holder = celogeek
copyright_year = 2011
[@Author::Celogeek]
And it support remove, so you can use it for your apps deploy :
name = MyTest
license = Perl_5
copyright_holder = celogeek
copyright_year = 2011
[@Author::Celogeek]
-remove = UploadToCPAN
[Run::Release]
run = scripts/deploy.sh %s
Here my Changes file :
{{$NEXT}}
My changes log
Here my .gitignore :
xt/.perltidyrc
xt/.perlcriticrc
MyTest-*
*.swp
*.bak
*.tdy
*.old
.build
.includepath
.project
.DS_Store
You need to create and commit at least the .gitignore Changes and dist.ini and your lib first. Then any release will be automatic.
When you will release, by invoking 'dzil release', it will automatically:
- increment the version number (you dont add it in your program)
- collect change found in your Changes after the NEXT
- collect the markdown for github
- commit Changes, dist.ini and README.mkdn with a simple message (version and changes)
- add a tag
- push origin
Product's homepage
Requirements:
· Perl