ci: replace '| head -n1' with 'git log -1' due to broken pipe breaking -o pipefail

This commit is contained in:
Igor Minar 2017-03-05 11:53:45 -08:00 committed by GitHub
parent 32990307fe
commit 728fe472f8
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ function publishPackages {
fi
SHA=`git rev-parse HEAD`
SHORT_SHA=`git rev-parse --short HEAD`
COMMIT_MSG=`git log --oneline | head -n1`
COMMIT_MSG=`git log --oneline -1`
COMMITTER_USER_NAME=`git --no-pager show -s --format='%cN' HEAD`
COMMITTER_USER_EMAIL=`git --no-pager show -s --format='%cE' HEAD`
LATEST_TAG=`getLatestTag`