Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(release): Fix changelog generation (#105)
Every kleat release was generating a full changelog of all commits ever made rather than only those since the last release. The reason for this is that we were not fetching tags when cloning the repository, so when go-releaser used 'git describe' to find the last tag, it was not finding one and thus generating a changelog of all commits ever made. This could be fixed by adding a --tags to the unshallow command, but it looks like the github action will fetch tags if you pass depth=0 to it (which means fetch all commits) so let's do that instead. It looks like in the two weeks since we added this config, go-releaser has updated their docs to now suggest adding depth=0 to the checkout command (whereas they previously had the unshallow command that was broken).
- Loading branch information