This commit is contained in:
morsh 2018-01-08 22:27:03 +02:00
Родитель c5458022b2
Коммит 099af991d8
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -26,7 +26,9 @@ ensure_preconditions_met() {
log "TRAVIS_BUILD_NUMBER: ${TRAVIS_BUILD_NUMBER}"
# get last commit comment
ORIGINAL_COMMIT_MESSAGE="$(echo ${TRAVIS_COMMIT_RANGE} | cut -d '.' -f4)"
ORIGINAL_COMMIT_ID="$(echo ${TRAVIS_COMMIT_RANGE} | cut -d '.' -f4)"
log "ORIGINAL_COMMIT_ID: ${ORIGINAL_COMMIT_ID}"
ORIGINAL_COMMIT_ID=$(git log --format=%B -n 1 $ORIGINAL_COMMIT_ID)
log "ORIGINAL_COMMIT_MESSAGE: ${ORIGINAL_COMMIT_MESSAGE}"
if [ -z "${TRAVIS_PULL_REQUEST_BRANCH}" ]; then