Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

63 lines (37 sloc) 1.296 kB

Release instructions for Module::Build

Prerequisites

Module::Build now bundles it's own release script in the custom subclass in inc/. However, it has some prerequisites:

  Git::Wrapper
  CPAN::Uploader

Packaging and shipping

Update Module::Build from the repository and make sure there are no uncommitted changes:

  $ git fetch
  $ git status
  $ git diff origin/master

See what the last tag was:

  $ git describe
  0.3605-6-ge176ee6

Pull the logs since that tag and update the Changes file if necessary

  $ git log 0.3605..HEAD
  ...

  $ vim Changes

If everything is good, just datestamp the version section at the top of Changes (e.g. use "r! date" then "kJ" in vim.)

  $ git commit -a -m "Changes - prep for release"

Push all commits to an 'origin' branch:

  $ git push origin master

And we should now be ready for automated shipping:

  $ perl Build.PL
  $ Build upload

After shipping

Now the release is out and tagged, so it's time to start a new version number:

  $ ./devtools/bump_version.pl
  $ git commit -a -m "Changes, lib/***.pm - bump version"

Patching blead

If the version just released should also get added to bleadperl, see devtools/patching_blead.pod for instructions:

  $ perldoc devtools/patching_blead.pod
Jump to Line
Something went wrong with that request. Please try again.