Skip to content

Commit 079e35f

Browse files
committed
Update changelog format
1 parent 584bcc9 commit 079e35f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,9 @@ jobs:
240240
run: |
241241
LAST_TAG=$(git tag --sort=-version:refname | head -n 1)
242242
if [ -n "$LAST_TAG" ]; then
243-
git log "$LAST_TAG..HEAD" --pretty=format:"- %s" --no-merges > changelog.txt
243+
git log "$LAST_TAG..HEAD" --pretty=format:'- `%h` (%an) %s' > changelog.txt
244244
else
245-
git log --pretty=format:"- %s" --no-merges > changelog.txt
245+
git log --pretty=format:'- `%h` (%an) %s' > changelog.txt
246246
fi
247247
echo "Last tag used for changelog: ${LAST_TAG:-<none, full history>}"
248248
cat changelog.txt

0 commit comments

Comments
 (0)