build(migration): pre-commit拦截migration 多head问题
This commit is contained in:
1 parent
4fa5ab4929
commit
ac67b07107
5 files changed
+263
-3
No files matched your search
@@ -38,7 +38,7 @@ if [[ -f "${ROOT_DIR}/package.json" ]]; then
|
||||
fi
|
||||
|
||||
echo "[hook-install] Installed Git hooks successfully."
|
||||
echo "[hook-install] pre-commit: models 变更需带 migration;frontend 暂存时跑 vue-tsc"
|
||||
echo "[hook-install] pre-commit: models 变更需带 migration;migration 须单 head;frontend 暂存时跑 vue-tsc"
|
||||
echo "[hook-install] commit-msg: 校验提交信息格式(Conventional Commits)"
|
||||
echo "[hook-install] pre-push: 推送含 frontend 变更时跑 npm run build"
|
||||
echo "[hook-install] core.hooksPath=$(git -C "${ROOT_DIR}" config --get core.hooksPath)"
|
||||
|
||||
Reference in new issue
Block a user