From 861a805299ad2bb1e7fe8650e90ac2687b10622a Mon Sep 17 00:00:00 2001
From: Yassine Doghri <yassine@doghri.fr>
Date: Wed, 12 May 2021 09:08:11 +0000
Subject: [PATCH] ci: remove git hooks folder before release command

---
 .gitlab-ci.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6e1cc393fa..c295d6fb39 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -71,6 +71,9 @@ release_app:
     # IMPORTANT: delete local git tags before release to prevent eventual script failure (ie. tag already exists)
     - git tag | xargs git tag -d
 
+    # IMPORTANT: no need to run git hooks, just remove them
+    - rm -rf ./.git/hooks
+
     # run semantic-release script (configured in `.releaserc.json` file)
     - npm run release
   only:
-- 
GitLab