Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ jobs:
# Get the most recent tag (if any)
PREVIOUS_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")

if [ -z "$PREVIOUS_TAG" ]; then
COMMITS=$(git log --pretty=format: "- %s (%h)" --no-merges)
else
COMMITS=$(git log $PREVIOUS_TAG..HEAD --pretty=format: "- %s (%h)" --no-merges)
if [ -z "$PREVIOUS_TAG" ]; then COMMITS=$(git log --pretty=format:"- %s (%h)" --no-merges)

else COMMITS=$(git log "$PREVIOUS_TAG"..HEAD --pretty=format:"- %s (%h)" --no-merges)

fi

# Create changelog content
Expand Down
Loading