Add Apping2/3 to habitent_loin exception
This commit is contained in:
parent
33222d78c5
commit
700002396b
4 changed files with 20 additions and 4 deletions
|
|
@ -306,6 +306,7 @@ sub tag_project
|
|||
# 2: $year
|
||||
|
||||
my $project_id = repository_name();
|
||||
my $flavour = "";
|
||||
if ($_[1]) {
|
||||
|
||||
# Check on ID/flavour_id
|
||||
|
|
@ -314,6 +315,7 @@ sub tag_project
|
|||
}
|
||||
|
||||
$project_id .= "-" . $_[1];
|
||||
$flavour = $_[1];
|
||||
}
|
||||
$project_id = lc $project_id;
|
||||
$project_id =~ s/[^a-z0-9-_]/_/g;
|
||||
|
|
@ -423,7 +425,7 @@ sub tag_project
|
|||
log INFO, "Information de l'intranet...";
|
||||
# Call API
|
||||
eval {
|
||||
API::Projects::add($project_id, $year);
|
||||
API::Projects::add($project_id, $flavour, $year);
|
||||
};
|
||||
if ($@)
|
||||
{
|
||||
|
|
|
|||
Reference in a new issue