diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ced11e2..c71eb37 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,7 +29,7 @@ test-job: # This job runs in the test stage. then files=$(find . -name "*.zone" -printf %P) else - files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA) + files=$(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA | tr "\n" " ") fi if [[ "$files" =~ .*"zone".* ]] then