You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-07-05 00:59:04 +02:00
fix: changelog is too long (#2661)
Signed-off-by: Engin Diri <engin.diri@mail.schwarz>
This commit is contained in:
@ -207,6 +207,9 @@ func (c *githubClient) CreateRelease(ctx *context.Context, body string) (string,
|
||||
return "", err
|
||||
}
|
||||
|
||||
// Truncate the release notes if it's too long (github doesn't allow more than 125000 characters)
|
||||
body = truncateReleaseBody(body)
|
||||
|
||||
data := &github.RepositoryRelease{
|
||||
Name: github.String(title),
|
||||
TagName: github.String(ctx.Git.CurrentTag),
|
||||
|
Reference in New Issue
Block a user