From 503dfdece5ac49fbeeb8d1a5249e820884441ba1 Mon Sep 17 00:00:00 2001 From: Joe Previte Date: Tue, 4 Jan 2022 10:40:32 -0700 Subject: [PATCH] fix: ignore pre-commit hook for release-prep script --- ci/build/release-prep.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/build/release-prep.sh b/ci/build/release-prep.sh index 91189fb5..671791e5 100755 --- a/ci/build/release-prep.sh +++ b/ci/build/release-prep.sh @@ -83,7 +83,7 @@ main() { echo -e "Great! We'll prep a PR for updating to $CODE_SERVER_VERSION_TO_UPDATE\n" $CMD rg -g '!yarn.lock' -g '!*.svg' -g '!CHANGELOG.md' --files-with-matches --fixed-strings "${CODE_SERVER_CURRENT_VERSION}" | $CMD xargs sd "$CODE_SERVER_CURRENT_VERSION" "$CODE_SERVER_VERSION_TO_UPDATE" - $CMD git commit -am "chore(release): bump version to $CODE_SERVER_VERSION_TO_UPDATE" + $CMD git commit --no-verify -am "chore(release): bump version to $CODE_SERVER_VERSION_TO_UPDATE" # This runs from the root so that's why we use this path vs. ../../ RELEASE_TEMPLATE_STRING=$(cat ./.github/PULL_REQUEST_TEMPLATE/release_template.md)