diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 39dfa4e9710d882f87af6df14644b04ad68b9606..e0eafaf37cb3d4b4c421ccfdadc4ff995ab07259 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,10 +10,7 @@ release:
     script:
         - mvn package -B
         - echo "create release"
-        - ls target/
-        - ls target/*.zip
-        - ls target/ | grep '\.zip$'
-        - ls target/ | grep *.zip | head -n 1
+        - ls target/ | grep '\.zip$' | head -n 1
         - FILE= ls target/ | grep *.zip | head -n 1
         - echo $FILE
     only: