Releasing Krang

This document describes how to make a new release of Krang.

Pre-Release Checklist

  1. Make sure all changes are committed to CVS.

  2. Verify that an upgrade module has been created for this release, if necessary

  3. Update $VERSION in Krang.pm and commit.

Building the Source Distribution

  1. Make a clean checkout of Krang:
      rm -rf krang
      cvs -z3 co krang

  2. Run krang_makedist:
      bin/krang_makedist

    This will create 'krang-$VERSION-src.tar.gz'. Per default, this distribution won't contain any localization lexicons. You may however include them using the --with_language option.

  3. Upload the file to SourceForge and post an announcement to the Krang mailing lists.

Building Binary Distributions

On each supported platform perform these steps:

  1. Download the source distribution and untar it.

  2. Run krang_build, supplying the plaform name if necessary:
      bin/krang_build

  3. Run krang_makedist:
      bin/krang_makedist

    This will create 'krang-$VERSION-$PLATFORM-$PERL-$ARCH.tar.gz', which is a binary distribution of Krang.

  4. Upload the file to SourceForge and post an announcement to the Krang mailing lists.