Skip to content

Commit 3c2478c

Browse files
committed
ci: Print COMMIT_RANGE to the log as it was in Travis CI
1 parent c123892 commit 3c2478c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ci/lint/06_script.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66

77
export LC_ALL=C
88

9+
GIT_HEAD=$(git rev-parse HEAD)
910
if [ -n "$CIRRUS_PR" ]; then
10-
COMMIT_RANGE="$CIRRUS_BASE_SHA..HEAD"
11+
COMMIT_RANGE="$CIRRUS_BASE_SHA..$GIT_HEAD"
1112
test/lint/commit-script-check.sh $COMMIT_RANGE
1213
fi
1314
export COMMIT_RANGE
@@ -28,3 +29,6 @@ if [ "$CIRRUS_REPO_FULL_NAME" = "bitcoin/bitcoin" ] && [ -n "$CIRRUS_CRON" ]; th
2829
${CI_RETRY_EXE} gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys $(<contrib/verify-commits/trusted-keys) &&
2930
./contrib/verify-commits/verify-commits.py --clean-merge=2;
3031
fi
32+
33+
echo
34+
git log --no-merges --oneline $COMMIT_RANGE

0 commit comments

Comments
 (0)