Skip to content

Commit 5639b6d

Browse files
author
微信公众号:储凡
authored
Merge pull request #95 from 142vip/fix/release
fix: 修复release脚本异常,使用npx
2 parents 1a8f1b1 + 94d6349 commit 5639b6d

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)