提交 71579fb5 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

rebase before push by default

上级 0deac82d
......@@ -19,6 +19,7 @@ npm run lint
[ -z "$CYGWIN" ] && {
npm version patch
git rebase
WECHATY_INNER_PRE_HOOK=1 git push
echo
......@@ -34,6 +35,6 @@ npm run lint
# must run this after the above `test` ([ -z ...]),
# or will whow a error: error: failed to push some refs to 'git@github.com:wechaty/wechaty.git'
echo "PRE-PUSH HOOK PASSED"
echo "PRE-PUSH HOOK PASSED"
echo
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册