aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-12-20 13:47:20 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-12-21 12:13:43 +0200
commit3c2478c38522c176e81befd4d991a259b09be063 (patch)
treee4b9eb2d4d49be4c27db66fa5eae8921216063c1 /ci
parentc123892c2e47e3706f06820aba2454d494a39564 (diff)
ci: Print COMMIT_RANGE to the log as it was in Travis CI
Diffstat (limited to 'ci')
-rwxr-xr-xci/lint/06_script.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/ci/lint/06_script.sh b/ci/lint/06_script.sh
index 8aa775c28a..ed65095556 100755
--- a/ci/lint/06_script.sh
+++ b/ci/lint/06_script.sh
@@ -6,8 +6,9 @@
export LC_ALL=C
+GIT_HEAD=$(git rev-parse HEAD)
if [ -n "$CIRRUS_PR" ]; then
- COMMIT_RANGE="$CIRRUS_BASE_SHA..HEAD"
+ COMMIT_RANGE="$CIRRUS_BASE_SHA..$GIT_HEAD"
test/lint/commit-script-check.sh $COMMIT_RANGE
fi
export COMMIT_RANGE
@@ -28,3 +29,6 @@ if [ "$CIRRUS_REPO_FULL_NAME" = "bitcoin/bitcoin" ] && [ -n "$CIRRUS_CRON" ]; th
${CI_RETRY_EXE} gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys $(<contrib/verify-commits/trusted-keys) &&
./contrib/verify-commits/verify-commits.py --clean-merge=2;
fi
+
+echo
+git log --no-merges --oneline $COMMIT_RANGE