Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

63 lines (36 sloc) 1.301 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.

Before doing anything else, this is a good time to patch blead. See devtools/patching_blead.pod for instructions:

  $ Build patch_blead <path-to-perl-git-repo>

After patching blead, it's also time to start a new version number

  $ ./devtools/bump_version.pl

  $ git commit -a -m "Changes, lib/***.pm - bump version"
Jump to Line
Something went wrong with that request. Please try again.