ci: replace '| head -n1' with 'git log -1' due to broken pipe breaking -o pipefail
This commit is contained in:
parent
32990307fe
commit
728fe472f8
@ -117,7 +117,7 @@ function publishPackages {
|
|||||||
fi
|
fi
|
||||||
SHA=`git rev-parse HEAD`
|
SHA=`git rev-parse HEAD`
|
||||||
SHORT_SHA=`git rev-parse --short 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_NAME=`git --no-pager show -s --format='%cN' HEAD`
|
||||||
COMMITTER_USER_EMAIL=`git --no-pager show -s --format='%cE' HEAD`
|
COMMITTER_USER_EMAIL=`git --no-pager show -s --format='%cE' HEAD`
|
||||||
LATEST_TAG=`getLatestTag`
|
LATEST_TAG=`getLatestTag`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user