Skip to content
TypeScript

ci(release): release version bump no longer fails on the pre-commit hook (#26978)

Theo Browneb823dcf5c6da
diff --git a/.github/workflows/mobile-eas-production.yml b/.github/workflows/mobile-eas-production.yml
index 507e013bf1c..6877f5c831a 100644
--- a/.github/workflows/mobile-eas-production.yml
+++ b/.github/workflows/mobile-eas-production.yml
@@ -215,7 +215,7 @@ jobs:
git config user.name "${APP_SLUG}[bot]"
git config user.email "${user_id}+${APP_SLUG}[bot]@users.noreply.github.com"
git add apps/mobile/app.config.ts
- git commit \
+ git commit --no-verify \
-m "chore(mobile): bump app version to $RELEASE_VERSION" \
-m "Co-authored-by: codex <[email protected]>"
git push origin "HEAD:refs/heads/${GITHUB_REF_NAME}"
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 6d89b7c7abe..c36d51bdadb 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -1388,7 +1388,7 @@ jobs:
git config user.email "${{ steps.app_bot.outputs.email }}"
git add apps/server/package.json apps/desktop/package.json apps/web/package.json packages/contracts/package.json pnpm-lock.yaml
- git commit -m "chore(release): prepare $RELEASE_TAG"
+ git commit --no-verify -m "chore(release): prepare $RELEASE_TAG"
git push origin HEAD:main
announce_discord: