Skip to content

Commit

Permalink
fix: 添加npx配置修复release脚本异常
Browse files Browse the repository at this point in the history
  • Loading branch information
Rong姐姐好可爱 committed Dec 25, 2023
1 parent 89d4ce3 commit 5715c6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/release
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5715c6a

Please sign in to comment.