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

use NO_HOOK env var to push tag

上级 bdc264be
......@@ -8,18 +8,14 @@
# To enable this hook, rename this file to "pre-commit".
set -e
remote="$1"
url="$2"
read line
echo "$line"
[ -n "$NO_HOOK" ] && exit 0
[ -n "$WECHATY_INNER_PRE_HOOK" ] && {
# http://stackoverflow.com/a/21334985/1123955
exit 0
}
# npm run lint
npm run lint
[ -z "$CYGWIN" ] && {
npm version patch
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册