Module::Release - Methods for releasing packages to CPAN and SourceForge.
Right now, there are no user-servicable parts inside. However, this has been split out like this so that there can be in the future.
$Header: /cvsroot/brian-d-foy/release/lib/Module/Release.pm,v 1.19 2003/06/23 04:44:16 petdance Exp $
Create a Module::Release object. Any arguments passed are assumed to be key-value pairs that override the default values.
At this point, the
new() method is not overridable via the
release_subclass config file entry. It would be nice to fix this sometime.
Clean up the directory to get rid of old versions
Builds the makefile from Makefile.PL
Check the tests, which must all pass
Make the distribution
Check the distribution test
Check the state of the CVS repository
Makes sure that
sf_pass members are populated, as appropriate. This function must die if the calling program is not able to continue.
Upload the files to the FTP servers
Claim the file in PAUSE
Tag the release in local CVS
By default, examines the name of the remote file (i.e. Foo-Bar-0.04.tar.gz) and constructs a CVS tag like
RELEASE_0_04 from it. Override this method if you want to use a different tagging scheme.
Authenticate with Sourceforge
Visit the Quick Release System form
Release the file
Read and parse the README file. This is pretty specific, so you may well want to overload it.
Read and parse the Changes file. This is pretty specific, so you may well want to overload it.
Run a command in the shell.
Get a password from the user if it isn't found.