Commit 5a1ba81
authored
fix(release): remove changelog.disable to allow --release-notes to work (#2705)
## Summary
- Remove `changelog.disable: true` from `.goreleaser.yml` because it
suppresses `--release-notes` content, resulting in empty draft release
bodies.
`changelog.disable: true` skips the entire changelog pipe
([source](https://github.com/goreleaser/goreleaser/blob/main/internal/pipe/changelog/changelog.go#L45-L51)),
which means `--release-notes` file loading never executes. Without
`disable`, `--release-notes` still skips GoReleaser's own changelog
generation via an early return
([source](https://github.com/goreleaser/goreleaser/blob/main/internal/pipe/changelog/changelog.go#L73-L74)),
so only the git-cliff content is used.1 parent 49bd3e0 commit 5a1ba81
2 files changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
| 77 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
0 commit comments