mirror of
https://github.com/thegeeklab/wp-gitea-release.git
synced 2024-11-09 17:30:39 +00:00
00b0b14fc2
Closes #9
15 lines
484 B
Go
15 lines
484 B
Go
package main
|
|
|
|
import "github.com/drone/drone-go/drone"
|
|
|
|
// Params are the parameters that the GitHub Release plugin can parse.
|
|
type Params struct {
|
|
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"`
|
|
}
|