diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c33716fbfc44ed9d4a828e77d457434091e7d362..d8ec88adc14f5dd86acd14b4d170c63568b46329 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -61,13 +61,15 @@ test:
 publish:
   stage: release
   before_script:
-    - pip install python-semantic-release sib-commit-parser
+    - pip install python-semantic-release~=5.0 sib-commit-parser~=0.3
     - git config user.name "${GITLAB_USER_NAME}"
     - git config user.email "${GITLAB_USER_EMAIL}"
     - git remote set-url origin "https://gitlab-ci-token:${GL_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git"
+    - git fetch --tags
   script:
     - semantic-release publish
   only:
     - master
   tags:
     - deploy
+
diff --git a/setup.cfg b/setup.cfg
index 38922fcb4be7dc09349cec9d3ae51c34b619832b..baa555b1456a7b9870ad7b0a6f6ecf2bcf71145f 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -10,7 +10,7 @@ license = MIT
 [options]
 packages = find:
 install_requires =
-    djangoldp~=0.5
+    djangoldp~=0.7
 
 [options.extras_require]
 include_package_data = True