diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 91796fd..ecf705f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -123,7 +123,7 @@ variables: echo " Calcolo versione - DEV" echo "-----------------------" $commitAuthor = $CI_COMMIT_AUTHOR -split " " - $commitAuthor = $commitAuthor[1] + $commitAuthor = $commitAuthor[0].Trim() $fPath = "$env:MACH_NAME.mlde"; $vLine = Select-String -path $fPath -Pattern 'PP_VER'; $comp = $vLine -split "=";