Astro-Constants
view release on metacpan or search on metacpan
AUTHOR_NOTES.md view on Meta::CPAN
Only use decimal version numbers; 0.14.1 will not be indexed
# How to Release
## Using Dzil
The author keeps forgetting how to run dzil.
* ```dzil build``` - builds the module
* ```dzil test``` - tests the module
* ```dzil release``` - builds a distribution for uploading to CPAN
* ```dzil authordeps --missing``` - find missing module dependancies
* ```dzil mkrpmspec``` - part of the Fedora RPM build process
## Release checklist
* tests pass with `prove -vlr t xt`
* update version in dist.ini
* check [CPANTS](http://matrix.cpantesters.org/?dist=Astro-Constants)
* check [RT](https://rt.cpan.org/Public/Dist/Display.html?Name=Astro-Constants)
* check [Git Pulse](https://github.com/duffee/Astro-Constants/pulse/monthly) for pending issues and pull requests
* update ChangeLog with history from ```git log```
* check POD matches current state of the module
* link Constants.pm to Constants/DatasourceYear.pm or move old version of Constants.pm to Constants/2017.pm if changes to values in PhysicalConstants.xml
* commit all files in repository
* update git repo tag to new version number
* build CPAN release - ```dzil release```
* [upload](https://pause.perl.org/pause/authenquery?ACTION=add_uri) to CPAN (dzil does this)
* email announcement to the Quantified Onion group
* add missing steps to this checklist
# Design Decisions
## Dist::Zilla and PodWeaver
Dzil can be a pain, but it makes the release to CPAN step easier and promises to build me an RPM spec file.
PodWeaver adds in the NAME and VERSION sections of the Pod,
in case you're wondering why it's not in the **build_module.pl** script.
( run in 0.868 second using v1.01-cache-2.11-cpan-b16cb0d3907 )