移除烦人的版本自动生成,简化提交流程

This commit is contained in:
katelya
2025-09-01 20:38:46 +08:00
parent 8b2ca1e520
commit af5b2f8e02
3 changed files with 87 additions and 10 deletions
+1 -7
View File
@@ -1,11 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
# 生成版本号
pnpm gen:version
# 自动添加修改的版本文件
git add src/lib/version.ts
git add VERSION.txt
# 只运行代码检查,简单干净
npx lint-staged