ci: remove git hooks folder before release command

This commit is contained in:
Yassine Doghri 2021-05-12 09:08:11 +00:00
parent b4012b7d2e
commit 861a805299
No known key found for this signature in database
GPG Key ID: 3E7F89498B960C9F
1 changed files with 3 additions and 0 deletions

View File

@ -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: