mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-09-08 20:40:40 +02:00
ci: Properly set COMMIT_RANGE in lint task
This commit is contained in:
@@ -6,9 +6,8 @@
|
||||
|
||||
export LC_ALL=C
|
||||
|
||||
GIT_HEAD=$(git rev-parse HEAD)
|
||||
if [ -n "$CIRRUS_PR" ]; then
|
||||
COMMIT_RANGE="${CIRRUS_BASE_SHA}..$GIT_HEAD"
|
||||
COMMIT_RANGE="HEAD~..HEAD"
|
||||
echo
|
||||
git log --no-merges --oneline "$COMMIT_RANGE"
|
||||
echo
|
||||
|
Reference in New Issue
Block a user