Commit 1158b2a6 authored by Alex Vandiver's avatar Alex Vandiver
Browse files

Releng 0.14

parent c1565ef1
Revision history for RT-Extension-CommandByMail
0.14 Thu Oct 3 14:16:17 EDT 2013
* RT 4.2 compatibility
* Drop support for RT 3.6
0.13 Tue Jul 23 16:37:05 PDT 2013
* Add support for only inspecting headers, not the body
......
......@@ -27,4 +27,4 @@ requires:
perl: 5.8.3
resources:
license: http://dev.perl.org/licenses/
version: 0.13
version: 0.14
......@@ -8,7 +8,7 @@ no warnings 'once';
use Module::Install::Base;
use base 'Module::Install::Base';
our $VERSION = '0.31';
our $VERSION = '0.32';
use FindBin;
use File::Glob ();
......@@ -136,6 +136,7 @@ install ::
$has_etc{acl}++;
}
if ( -e 'etc/initialdata' ) { $has_etc{initialdata}++; }
if ( -d 'etc/upgrade/' ) { $has_etc{upgrade}++; }
$self->postamble("$postamble\n");
unless ( $subdirs{'lib'} ) {
......@@ -164,6 +165,12 @@ install ::
.
$self->postamble("initdb ::\n$initdb\n");
$self->postamble("initialize-database ::\n$initdb\n");
if ($has_etc{upgrade}) {
print "To upgrade from a previous version of this extension, use 'make upgrade-database'\n";
my $upgradedb = qq|\t\$(NOECHO) \$(PERL) -Ilib -I"$local_lib_path" -I"$lib_path" -Minc::Module::Install -e"RTxInitDB(qw(upgrade \$(NAME) \$(VERSION)))"\n|;
$self->postamble("upgrade-database ::\n$upgradedb\n");
$self->postamble("upgradedb ::\n$upgradedb\n");
}
}
}
......@@ -209,4 +216,4 @@ sub requires_rt {
__END__
#line 329
#line 336
use 5.008003;
package RT::Extension::CommandByMail;
our $VERSION = '0.13';
our $VERSION = '0.14';
1;
__END__
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment