diff --git a/scripts/release b/scripts/release index 80fb8b7c..d76af808 100755 --- a/scripts/release +++ b/scripts/release @@ -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 \ No newline at end of file +#pnpm commit-and-tag-version