Skip to content

Commit

Permalink
message module name and versions
Browse files Browse the repository at this point in the history
  • Loading branch information
miyagawa committed Feb 22, 2010
1 parent da5f055 commit 5fd61f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/git_site_perl
Expand Up @@ -29,8 +29,9 @@ hook install_success => sub {
if (-e $site_perl && -w _) {
my $cwd = Cwd::cwd();
chdir $site_perl or die $!;
my $message = "$args->{meta}->{name} $args->{meta}->{version} ($args->{module})";
$args->{app}->run("git add .") &&
$args->{app}->run("git commit -m " . Util::quote($args->{module}));
$args->{app}->run("git commit -m " . Util::quote($message));
chdir $cwd;
}
};

0 comments on commit 5fd61f6

Please sign in to comment.