1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-04-14 10:20:29 +08:00

Merge pull request #95 from 142vip/fix/release

fix: 修复release脚本异常,使用npx
This commit is contained in:
微信公众号:储凡
2024-04-17 11:16:48 +08:00
committed by GitHub

View File

@@ -17,11 +17,11 @@ current_branch=$(git rev-parse --abbrev-ref HEAD)
# 判断分支名称
if [ "$current_branch" = "next" ]; then
bumpp --preid alpha --execute="$generateChangeLog" --commit "$commitInfo" --all --tag --push
npx bumpp --preid alpha --execute="$generateChangeLog" --commit "$commitInfo" --all --tag --push
else
echo "当前分支是:$current_branch 版本迭代允许在next分之操作并推送到远程"
fi
## 直接快速生成CHANGELOG文档
#pnpm commit-and-tag-version
#pnpm commit-and-tag-version