From b9ce68b290d062f08540ff3dd8fe51ba333eeda5 Mon Sep 17 00:00:00 2001 From: Huan LI Date: Sun, 30 Apr 2017 20:34:55 +0800 Subject: [PATCH] chore(hook) add figlet to pre-push --- bin/pre-push | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/bin/pre-push b/bin/pre-push index 3456a0a..75b6227 100755 --- a/bin/pre-push +++ b/bin/pre-push @@ -21,6 +21,21 @@ npm run lint npm version patch WECHATY_INNER_PRE_HOOK=1 git push + cat <<'_STR_' + ____ _ _ ____ _ + / ___(_) |_ | _ \ _ _ ___| |__ +| | _| | __| | |_) | | | / __| '_ \ +| |_| | | |_ | __/| |_| \__ \ | | | + \____|_|\__| |_| \__,_|___/_| |_| + + ____ _ _ +/ ___| _ _ ___ ___ ___ ___ __| | | +\___ \| | | |/ __/ __/ _ \/ _ \/ _` | | + ___) | |_| | (_| (_| __/ __/ (_| |_| +|____/ \__,_|\___\___\___|\___|\__,_(_) + +_STR_ + echo echo echo @@ -34,6 +49,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