diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f6dda1a1ac178b2bce1b19acefaa01afe7e3e936..5e51ca2c320628a5eeffd8fba3b9fee7de5a670b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -38,12 +38,13 @@ packagist:
     - job: test
       artifacts: false
   image: appropriate/curl
+  variables:
+    GIT_STRATEGY: none
   rules:
     - if: $CI_COMMIT_TAG
     - if: $CI_COMMIT_BRANCH
   interruptible: false
   script:
-    - |
-      curl -fsSL -H"Content-Type: application/json" \
-        -d''{"repository":{"url":"''$CI_REPOSITORY_URL''"}}'' \
-        "https://packagist.org/api/update-package?username=$PACKAGIST_USERNAME&apiToken=$PACKAGIST_TOKEN"
+    - 'curl -fsSL -H"Content-Type: application/json"
+        -d''{"repository":{"url":"''$CI_PROJECT_URL''.git"}}''
+        "https://packagist.org/api/update-package?username=$PACKAGIST_USERNAME&apiToken=$PACKAGIST_TOKEN"'