Skip to content

Commit

Permalink
fix(husky): 移除pre-push中的changelog更新,聚焦于pre-commit
Browse files Browse the repository at this point in the history
移除`.husky/pre-push`中自动更新和提交changelog的逻辑
  • Loading branch information
Null committed Aug 15, 2024
1 parent b12d9fe commit a506b10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
. "$(dirname -- "$0")/_/husky.sh"


pnpm run changelog && git add CHANGELOG.md
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
. "$(dirname -- "$0")/_/husky.sh"


pnpm run changelog && git add CHANGELOG.md && git commit -m "chore: update changelog"
# pnpm run changelog && git add CHANGELOG.md && git commit -m "chore: update changelog"


0 comments on commit a506b10

Please sign in to comment.