2015-12-23 14:18:22 +00:00
|
|
|
package main
|
|
|
|
|
2016-01-15 21:30:59 +00:00
|
|
|
import "github.com/drone/drone-go/drone"
|
|
|
|
|
2016-01-12 04:33:03 +00:00
|
|
|
// Params are the parameters that the GitHub Release plugin can parse.
|
2015-12-23 14:18:22 +00:00
|
|
|
type Params struct {
|
2016-02-11 14:07:22 +00:00
|
|
|
BaseURL string `json:"base_url"`
|
|
|
|
UploadURL string `json:"upload_url"`
|
|
|
|
APIKey string `json:"api_key"`
|
|
|
|
Files drone.StringSlice `json:"files"`
|
|
|
|
Checksum drone.StringSlice `json:"checksum"`
|
|
|
|
Draft bool `json:"draft"`
|
|
|
|
FileExists string `json:"file_exists"`
|
2015-12-23 14:18:22 +00:00
|
|
|
}
|