Commit d8ab240
authored
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).1 parent 2892472 commit d8ab240
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
0 commit comments