From 728fe472f8e7e5f130c0060278299f9a67d3a5f4 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Sun, 5 Mar 2017 11:53:45 -0800 Subject: [PATCH] ci: replace '| head -n1' with 'git log -1' due to broken pipe breaking -o pipefail --- scripts/ci/publish-build-artifacts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci/publish-build-artifacts.sh b/scripts/ci/publish-build-artifacts.sh index c7afaab79a..40f0c4d206 100755 --- a/scripts/ci/publish-build-artifacts.sh +++ b/scripts/ci/publish-build-artifacts.sh @@ -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`