diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6ef321b64f0cc97cadbb53e133b36b46e057db82..835c69579048a211a2ad1f9362aaa9a3d2995218 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,7 +14,7 @@ build:
     - npm install
     - npm run build
   after_script:
-    - TAG=`git describe --tags`
+    - TAG=`git describe --tags $(git rev-list --tags --max-count=1)`
     - echo "{\"job_token\":\"$CI_JOB_TOKEN\", \"name\":\"$SITE_NAME\", \"tag\":\"$TAG\" }" > request.json
     - "curl -H 'Content-Type: application/json' -X POST -d @request.json $WEBHOOK_URL"
   artifacts: