diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 490bcb8e9008cacd4cc5e3744b4c78173bdcf332..0d0b5c549e55c6607f2096a0e8a2f4a1279708d7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -27,9 +27,7 @@ code-build: # This job runs in the build stage, which runs first.
     image: atlas/athanalysis:21.2.94
     script:
         - pwd
-        - cpack -G RPM
-        - ls -lah
-        - mv *.rpm ../ZdZdPostProcessing.rpm
+        - source /release_setup.sh
     artifacts:
         name: rpm
         paths: