Archived
1
0
Fork 0

hooks/submission: send git to moulette

This commit is contained in:
Mercier Pierre-Olivier 2013-10-18 09:11:04 +02:00
parent b297e386d6
commit 9fa9251590

View file

@ -95,6 +95,21 @@ if ($ref =~ m<^refs/tags/(.+)$>)
}
else
{
eval {
Process::Client::launch("send_git",
{
"year" => $promo,
"id" => $id_project,
"rendu" => $tag,
"login" => $repo_login,
"path" => $ENV{GL_REPO_BASE_ABS}."/".$ENV{GL_REPO},
});
};
if ($@) {
my $err = $@;
log DEBUG, "ERROR: ".$err;
}
# Send data to API
my $last_commit = `git log $newsha -1 --decorate --tags`;
eval {