Skip to content

Commit 064ce92

Browse files
committed
CI: Use dot-dot syntax with git-log
1 parent dc68e03 commit 064ce92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/haskell-actions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
fi
4040
echo $GITHUB_SHA
4141
git show $GITHUB_SHA
42-
for constraint in $(git log "--format=%(trailers:key=New-Versions,valueonly=true)" ${GITHUB_SHA}^1 ${GITHUB_SHA}^2)
42+
for constraint in $(git log "--format=%(trailers:key=New-Versions,valueonly=true)" ${GITHUB_SHA}^1..${GITHUB_SHA}^2)
4343
do echo "constraints: $constraint" >> cabal.project
4444
done
4545
cat cabal.project

0 commit comments

Comments
 (0)