From 014416e97b02142a1496b77db3901de2ade3e468 Mon Sep 17 00:00:00 2001 From: Dolphin Wood Date: Tue, 19 May 2020 00:47:35 +0900 Subject: [PATCH] chore(script/deploy): use last commit author info --- scripts/deploy.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index be87e498..eb2534c5 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -12,6 +12,8 @@ fi # Save some useful information REPO=`git config remote.origin.url` +COMMIT_AUTHOR_NAME=`git show -s --format='%an'` +COMMIT_AUTHOR_EMAIL=`git show -s --format='%ae'` SSH_REPO=${REPO/\/\/github.com/\/\/$GITHUB_TOKEN@github.com} SHA=`git rev-parse --verify HEAD`