GitHubCreateReleaseSettings Class

Summary

Settings for creating a GitHub Release
Assembly
Cake.GitHub.dll
Namespace
Cake.GitHub
Base Types
graph BT Type-->Base0["GitHubSettingsBase"] click Base0 "/api/Cake.GitHub/GitHubSettingsBase" Base0-->Base1["Object"] Type["GitHubCreateReleaseSettings"] class Type type-node

Syntax

public sealed class GitHubCreateReleaseSettings : GitHubSettingsBase

Attributes

Type Description
NullableContextAttribute
NullableAttribute

Constructors

Properties

Name Value Summary
Assets IList<FilePath>
Gets or sets the paths of the files to upload as release assets.
Body string
Gets or sets the release's description.
Draft bool
Gets or sets whether to create a draft release.
Name string
Gets or sets the name of the release to. Defaults to the tag name when not specified.
Overwrite bool
Gets or sets whether to replace an existing release.
Prerelease bool
Gets or sets whether to mark the release as "prerelease".
TargetCommitish string
Gets or sets the Git commit it to create the tag from. Can be any branch of commit SHA. Value is unused if the release's tag already exists.

Extension Methods

Name Value Summary
Dump<GitHubCreateReleaseSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<GitHubCreateReleaseSettings>(GitHubCreateReleaseSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<GitHubCreateReleaseSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<GitHubCreateReleaseSettings>(string) void
Requires the Cake.Issues addin
ThrowIfNull<GitHubCreateReleaseSettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<GitHubCreateReleaseSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin