Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Support generating release notes #73

Merged
merged 3 commits into from
Apr 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,11 @@ func settingsFlags(settings *plugin.Settings) []cli.Flag {
EnvVars: []string{"PLUGIN_OVERWRITE", "GITHUB_RELEASE_OVERWRIDE"},
Destination: &settings.Overwrite,
},
&cli.BoolFlag{
Name: "generate-release-notes",
Usage: "automatically generate github release notes",
EnvVars: []string{"PLUGIN_GENERATE_RELEASE_NOTES", "GITHUB_RELEASE_GENERATE_NOTES"},
Destination: &settings.GenerateReleaseNotes,
},
}
}
1 change: 1 addition & 0 deletions docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Woodpecker plugin to add files and artifacts alongside a GitHub Release.
- `title`: file or string for the title shown in the GitHub release
- `note`: file or string with notes for the release (example: changelog)
- `overwrite`: force overwrite existing release information, e.g. title or note
- `generate-release-notes`: automatically generate GitHub release notes

## Example

Expand Down