Skip to content

Latest commit

 

History

History
53 lines (34 loc) · 1.6 KB

RELEASE.md

File metadata and controls

53 lines (34 loc) · 1.6 KB

Releasing createsend-perl

Requirements

Prepare the release

  • Increment version constants in the following files, ensuring that you use Semantic Versioning:

    • lib/Net/CampaignMonitor.pm (both $VERSION and the pod documentation section)
    • META.yml
  • Add an entry to HISTORY.md which clearly explains the new release.

  • Write Makefile and run tests:

    perl Makefile.PL && make test
    
  • Commit your changes:

    git commit -am "Version X.Y.Z"
    
  • Tag the new version:

    git tag -a vX.Y.Z -m "Version X.Y.Z"
    
  • Push your changes to GitHub, including the tag you just created:

    git push origin master --tags
    
  • Ensure that all tests pass.

Package the module

perl package.pl vX.Y.Z

This packages a distribution to a file named something like ../Net-CampaignMonitor-vX.Y.Z.tar.gz. You're now ready to release the package.

Release the module

Log in to PAUSE and choose the Upload a file to CPAN option from the menu on the left hand side.

Then click Choose File, choose the Net-CampaignMonitor-vX.Y.Z.tar.gz file you packaged in the previous step, and click Upload this file from my disk to upload the distribution.

You should receive an email confirming the upload, as well as an email confirming that the package has been indexed by the PAUSE indexer. All done!