Skip to content

Commit f7cb08a

Browse files
committed
fix: remove merges from release script
1 parent edb5988 commit f7cb08a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ jobs:
8383
COMPARE_URL="https://github.com/${GITHUB_REPOSITORY}/compare/${LAST_TAG}...v${CURRENT_VERSION}"
8484
fi
8585
if [ -n "$RANGE" ]; then
86-
CHANGELOG=$(git log --pretty=format:'- %s (%h)' "$RANGE")
86+
CHANGELOG=$(git log --no-merges --pretty=format:'- %s (%h)' "$RANGE")
8787
else
88-
CHANGELOG=$(git log --pretty=format:'- %s (%h)')
88+
CHANGELOG=$(git log --no-merges --pretty=format:'- %s (%h)')
8989
fi
9090
if [ -z "$CHANGELOG" ]; then
9191
CHANGELOG="- No commits found for this release."

0 commit comments

Comments
 (0)