Module::Release::Subversion - Use Subversion instead of CVS with Module::Release
In your subclasses of Module::Release:
use base qw(Module::Release::Subversion);
Module::Release::Subversion subclasses Module::Release, and provides its own implementations of the
cvs_tag() methods that are suitable for use with a Subversion repository rather than a CVS repository.
These methods are automatically exported in to the callers namespace using Exporter.
Check the state of the Subversion repository.
Tag the release in local Subversion.
The approach is fairly simple.
svn info is run to extract the Subversion URL for the current directory, and the first occurence of '/trunk/' in the URL is replaced with '/tags/'. We check that the new URL exists, and then
svn copy is used to do the tagging.
Failures are non fatal, since the upload has already happened.
Nik Clayton <nik@FreeBSD.org>
Copyright 2004 Nik Clayton. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Bugs should be reported to me via the CPAN RT system. http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Module::Release::Extras.