From 249e11152ec94ab171e4def5de9ebf7cd918b326 Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Sun, 8 Dec 2019 23:02:07 +0100 Subject: [PATCH] Travis - list of all included commits when updating phpstan/phpstan --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 856605e014..9715d036bf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,6 +48,7 @@ jobs: - | composer install --working-dir=compiler && \ php compiler/bin/compile && \ + GIT_LOG=$(git log ${TRAVIS_COMMIT_RANGE} --reverse --pretty='%H %s' | sed -e 's/^/https:\/\/github.com\/phpstan\/phpstan-src\/commit\//') && \ git clone https://${GITHUB_TOKEN}@github.com/phpstan/phpstan.git phpstan-dist > /dev/null 2>&1 && \ cp tmp/phpstan.phar phpstan-dist/phpstan.phar && \ cp tmp/phpstan.phar phpstan-dist/phpstan && \ @@ -55,7 +56,7 @@ jobs: git config user.email "ondrej@mirtes.cz" && \ git config user.name "Ondrej Mirtes" && \ git add phpstan phpstan.phar && \ - git commit -m "Updated PHPStan to commit ${TRAVIS_COMMIT}" && \ + git commit -m "Updated PHPStan to commit ${TRAVIS_COMMIT}" -m "${GIT_LOG}" && \ git push --quiet origin master - stage: test os: windows