Skip to content

Commit 5715c6a

Browse files
author
Rong姐姐好可爱
committed
fix: 添加npx配置修复release脚本异常
1 parent 89d4ce3 commit 5715c6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/release

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ current_branch=$(git rev-parse --abbrev-ref HEAD)
1717

1818
# 判断分支名称
1919
if [ "$current_branch" = "next" ]; then
20-
bumpp --preid alpha --execute="$generateChangeLog" --commit "$commitInfo" --all --tag --push
20+
npx bumpp --preid alpha --execute="$generateChangeLog" --commit "$commitInfo" --all --tag --push
2121
else
2222
echo "当前分支是:$current_branch ,版本迭代允许在next分支操作,并推送到远程!!!"
2323
fi
2424

2525

2626
## 直接快速生成CHANGELOG文档
27-
#pnpm commit-and-tag-version
27+
#pnpm commit-and-tag-version

0 commit comments

Comments
 (0)