Skip to content

Commit 76035ae

Browse files
author
Sergey Yakubov
committed
fix for deploy_docs.sh
1 parent 2cae4b0 commit 76035ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TravisCI/deploy_docs.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ fi
2929
REPO=`git config remote.origin.url`
3030
SSH_REPO=${REPO/https:\/\/github.com\//git@github.com:}
3131
SHA=`git rev-parse --verify HEAD`
32-
EMAIL=`git log HEAD^..HEAD --pretty='%aE'`
33-
NAME=`git log HEAD^..HEAD --pretty='%aN'`
32+
EMAIL=`git log -1 --pretty='%aE'`
33+
NAME=`git log -1 --pretty='%aN'`
3434

3535
# Clone the existing branch
3636
# we assume $TARGET_BRANCH exists

0 commit comments

Comments
 (0)