Usage:"(required) The tag the release will be created from",
Required:true,
EnvVars:[]string{"CI_COMMIT_TAG"},
},
&cli.StringFlag{
Name:flags.Name,
Usage:"The release name",
Required:false,
},
&cli.StringFlag{
Name:flags.Description,
Usage:"The description of the release; you can use Markdown. A file can be used to read the description contents, must exist inside the working directory; if it contains any whitespace, it will be treated as a string",
Required:false,
},
&cli.StringFlag{
Name:flags.TagMessage,
Usage:"Message to use if creating a new annotated tag",
Required:false,
},
&cli.StringFlag{
Name:flags.Ref,
Usage:"If tag_name doesn’t exist, the release will be created from ref; it can be a commit SHA, another tag name, or a branch name",
Required:false,
EnvVars:[]string{"CI_COMMIT_SHA"},
},
&cli.StringSliceFlag{
Name:flags.AssetsLink,
Usage:`JSON string representation of an asset link; (e.g. --assets-link='{"name": "Asset1", "url":"https://<domain>/some/location/1", "link_type": "other", "filepath": "xzy" }' or --assets-link='[{"name": "Asset1", "url":"https://example.com/some/location/1"}, {"name": "Asset2", "url":"https://example.com/some/location/2"}]'`,
Required:false,
},
&cli.StringSliceFlag{
Name:flags.Milestone,
Usage:`List of the titles of each milestone the release is associated with (e.g. --milestone "v1.0" --milestone "v1.0-rc)"; each milestone needs to exist `,
Required:false,
},
&cli.StringFlag{
Name:flags.ReleasedAt,
Usage:`The date when the release will be/was ready; defaults to the current time; expected in ISO 8601 format (2019-03-15T08:00:00Z)`,