ci: Properly set COMMIT_RANGE in lint task

This commit is contained in:
MarcoFalke committed 2023-01-02 14:05:23 +01:00
1 parent d8bdee0fc8
commit fa5cbf2290
2 files changed
+2 -2

No files matched your search

+1 -2
View File
@@ -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