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