Skip to content

Commit

Permalink
CI: Use dot-dot syntax with git-log
Browse files Browse the repository at this point in the history
  • Loading branch information
ysangkok committed Jan 19, 2025
1 parent dc68e03 commit 064ce92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/haskell-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
fi
echo $GITHUB_SHA
git show $GITHUB_SHA
for constraint in $(git log "--format=%(trailers:key=New-Versions,valueonly=true)" ${GITHUB_SHA}^1 ${GITHUB_SHA}^2)
for constraint in $(git log "--format=%(trailers:key=New-Versions,valueonly=true)" ${GITHUB_SHA}^1..${GITHUB_SHA}^2)
do echo "constraints: $constraint" >> cabal.project
done
cat cabal.project
Expand Down

0 comments on commit 064ce92

Please sign in to comment.