Fix tag submission
This commit is contained in:
parent
03470f00be
commit
8e4aab3940
@ -24,12 +24,12 @@ my $repo_login = $1 if ($ENV{'GL_REPO'} =~ m/.*\/.*\/(.*)/);
|
||||
|
||||
if ($ref =~ m<^refs/tags/(.+)$>)
|
||||
{
|
||||
my $ip = $1 if ($ENV{'SSH_CLIENT'} =~ m/([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*/);
|
||||
say "[ACU] Your IP is: $ENV{'SSH_CLIENT'}.";
|
||||
|
||||
my $tag = $1;
|
||||
log DEBUG, "Pushed tag for repository $ENV{GL_REPO}: $tag with IP $ENV{'SSH_CLIENT'}";
|
||||
|
||||
my $ip = $1 if ($ENV{'SSH_CLIENT'} =~ m/([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*/);
|
||||
say "[ACU] Your IP is: $ENV{'SSH_CLIENT'}.";
|
||||
|
||||
# Get project informations
|
||||
my $project;
|
||||
eval {
|
||||
|
Reference in New Issue
Block a user