diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml index d756bbf..491d403 100644 --- a/.github/workflows/ci-release.yml +++ b/.github/workflows/ci-release.yml @@ -181,9 +181,9 @@ jobs: echo "### Commits" echo "" 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 - git log "${TAG}" --pretty=format:"- %s (%h)" --no-merges + git log HEAD --pretty=format:"- %s (%h)" --no-merges fi echo "" echo ""