fix: Update git log command to reference HEAD for more accurate commit history

This commit is contained in:
HueByte
2026-02-19 11:03:20 +01:00
parent 7952c13c2b
commit defc5873fe
+2 -2
View File
@@ -181,9 +181,9 @@ jobs:
echo "### Commits" echo "### Commits"
echo "" echo ""
if [ -n "$PREV_TAG" ]; then if [ -n "$PREV_TAG" ]; then
git log "${PREV_TAG}..${TAG}" --pretty=format:"- %s (%h)" --no-merges git log "${PREV_TAG}..HEAD" --pretty=format:"- %s (%h)" --no-merges
else else
git log "${TAG}" --pretty=format:"- %s (%h)" --no-merges git log HEAD --pretty=format:"- %s (%h)" --no-merges
fi fi
echo "" echo ""
echo "" echo ""