Change log include only last commit
cawa-93 opened this issue · comments
Alex Kozack commented
In my workflow, the change log always includes only the last commit.
Reproduce:
- Create repo from template: cawa-93/vite-electron-builder
- Make a few commits
- Push commit to main branch
- Wait for the
draft_release
job complete. It will create a draft of a new release. Only the last commit is included in this draft body.
At first I thought it was due to the lack of previous releases or git tags. But this is not the case.
You can check this demo repository.
- I made several commits.
- Pushed them into the repository.
- Published a release (this also created a git tag).
- Made a few more commits.
- Pushed them into the repository.
- Published new release.
Each time the list of changes contained only the last commit.
Scott Brenner commented
This reminds me of #6 (comment) - could you try setting fetch-depth: 0
to the checkout step in your workflow? reference: https://github.com/actions/checkout#fetch-all-history-for-all-tags-and-branches
Alex Kozack commented
Yes, it helped. Thanks.