Skip to content

Commit

Permalink
Merge pull request #95 from 142vip/fix/release
Browse files Browse the repository at this point in the history
fix: 修复release脚本异常,使用npx
  • Loading branch information
chufan443 committed Apr 17, 2024
2 parents 1a8f1b1 + 94d6349 commit 5639b6d
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 5639b6d

Please sign in to comment.