Skip to content

Commit

Permalink
feat(publisher-github): option to automatically generate release notes (
Browse files Browse the repository at this point in the history
#3484)

Co-authored-by: Erick Zhao <erick@hotmail.ca>
  • Loading branch information
dsanders11 and erickzhao authored Feb 2, 2024
1 parent 71eb328 commit 358d52e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/publisher/github/src/Config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,8 @@ export interface PublisherGitHubConfig {
* Re-upload the new asset if you upload an asset with the same filename as existing asset
*/
force?: boolean;
/**
* Whether to automatically generate release notes for the release
*/
generateReleaseNotes?: boolean;
}
1 change: 1 addition & 0 deletions packages/publisher/github/src/PublisherGithub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export default class PublisherGithub extends PublisherBase<PublisherGitHubConfig
name: releaseName,
draft: config.draft !== false,
prerelease: config.prerelease === true,
generate_release_notes: config.generateReleaseNotes === true,
})
).data;
} else {
Expand Down

0 comments on commit 358d52e

Please sign in to comment.