Skip to content

Commit 7ad4bd9

Browse files
committed
automatically generate release notes
1 parent 5c70d07 commit 7ad4bd9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

make_release.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -296,11 +296,11 @@ func (rm *ReleaseManager) CreateGitHubRelease(version string) error {
296296
ctx := context.Background()
297297

298298
release := &github.RepositoryRelease{
299-
TagName: github.String(version),
300-
TargetCommitish: github.String("main"),
301-
Name: github.String(fmt.Sprintf("Release %s", version)),
302-
Body: github.String(fmt.Sprintf("Release %s", version)),
303-
Prerelease: github.Bool(false),
299+
TagName: github.String(version),
300+
TargetCommitish: github.String("main"),
301+
Name: github.String(fmt.Sprintf("Release %s", version)),
302+
Prerelease: github.Bool(false),
303+
GenerateReleaseNotes: github.Bool(true),
304304
}
305305

306306
_, _, err := rm.client.Repositories.CreateRelease(

0 commit comments

Comments
 (0)