{"modulePath":"github.com/woodpecker-ci/plugin-github-release","version":"v1.2.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package plugin\n\n## Functions\n\n```go\nfunc New(settings Settings, pipeline drone.Pipeline, network drone.Network) drone.Plugin\n```\nNew initializes a plugin from the given Settings, Pipeline, and Network.\n\n## Types\n\n```go\ntype Plugin struct {\n\t// contains filtered or unexported fields\n}\n```\nPlugin implements drone.Plugin to provide the plugin implementation.\n\n```go\nfunc (p *Plugin) Execute() error\n```\nExecute provides the implementation of the plugin.\n\n```go\nfunc (p *Plugin) Validate() error\n```\nValidate handles the settings validation of the plugin.\n\n```go\ntype Settings struct {\n\tAPIKey               string\n\tFiles                cli.StringSlice\n\tFileExists           string\n\tChecksum             cli.StringSlice\n\tChecksumFile         string\n\tChecksumFlatten      bool\n\tDraft                bool\n\tPrerelease           bool\n\tBaseURL              string\n\tUploadURL            string\n\tTitle                string\n\tNote                 string\n\tOverwrite            bool\n\tGenerateReleaseNotes bool\n\tDiscussionCategory   string\n\t// contains filtered or unexported fields\n}\n```\nSettings for the plugin.\n\n","path":"github.com/woodpecker-ci/plugin-github-release/plugin","name":"plugin","synopsis":"","isRedistributable":true}
