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-01-15 21:30:59 +00:00
|
|
|
BaseURL string `json:"base_url"`
|
|
|
|
UploadURL string `json:"upload_url"`
|
|
|
|
APIKey string `json:"api_key"`
|
2016-01-15 22:02:12 +00:00
|
|
|
Files drone.StringSlice `json:"files"`
|
2016-01-15 21:30:59 +00:00
|
|
|
Checksum drone.StringSlice `json:"checksum"`
|
2016-02-11 13:23:52 +00:00
|
|
|
Draft bool `json:"draft"`
|
2015-12-23 14:18:22 +00:00
|
|
|
}
|