You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-07-05 00:59:04 +02:00
fix: do not override release notes
This commit is contained in:
committed by
Carlos Alexandro Becker
parent
feb33c569c
commit
4a8d526f47
@ -128,6 +128,10 @@ func (c *githubClient) CreateRelease(ctx *context.Context, body string) (int64,
|
||||
data,
|
||||
)
|
||||
} else {
|
||||
// keep the pre-existing release notes
|
||||
if release.GetBody() != "" {
|
||||
data.Body = release.Body
|
||||
}
|
||||
release, _, err = c.client.Repositories.EditRelease(
|
||||
ctx,
|
||||
ctx.Config.Release.GitHub.Owner,
|
||||
|
Reference in New Issue
Block a user