Skip to content

Commit

Permalink
ci: ignore exit code of pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
andreoliwa committed Jan 15, 2022
1 parent 0696d08 commit 7fb0afe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci-prepare-cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ VERSION=$1
bumpversion --allow-dirty --no-commit --no-tag --new-version $VERSION patch

# Clean up the files touched by bumpversion
set +e # Allow failure; if files are modified, pre-commit returns an exit code > 0
pre-commit run --all-files end-of-file-fixer
pre-commit run --all-files trailing-whitespace
pre-commit run --all-files prettier
set -e

rm -rf dist/
poetry build
Expand Down

0 comments on commit 7fb0afe

Please sign in to comment.