public static GitHubReleaseSettings SetArtifactPaths(this GitHubReleaseSettings toolSettings, string[] artifactPaths) { toolSettings = toolSettings.NewInstance(); toolSettings.ArtifactPaths = artifactPaths; return(toolSettings); }
public static GitHubReleaseSettings ResetArtifactPaths(this GitHubReleaseSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.ArtifactPaths = null; return(toolSettings); }
public static GitHubReleaseSettings ResetPrerelease(this GitHubReleaseSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.Prerelease = null; return(toolSettings); }
public static GitHubReleaseSettings TogglePrerelease(this GitHubReleaseSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.Prerelease = !toolSettings.Prerelease; return(toolSettings); }
public static GitHubReleaseSettings ResetRepositoryName(this GitHubReleaseSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.RepositoryName = null; return(toolSettings); }
public static GitHubReleaseSettings SetPrerelease(this GitHubReleaseSettings toolSettings, bool?prerelease) { toolSettings = toolSettings.NewInstance(); toolSettings.Prerelease = prerelease; return(toolSettings); }
public static GitHubReleaseSettings SetRepositoryOwner(this GitHubReleaseSettings toolSettings, string repositoryOwner) { toolSettings = toolSettings.NewInstance(); toolSettings.RepositoryOwner = repositoryOwner; return(toolSettings); }
public static GitHubReleaseSettings SetRepositoryName(this GitHubReleaseSettings toolSettings, string repositoryName) { toolSettings = toolSettings.NewInstance(); toolSettings.RepositoryName = repositoryName; return(toolSettings); }
public static GitHubReleaseSettings SetCommitSha(this GitHubReleaseSettings toolSettings, string commitSha) { toolSettings = toolSettings.NewInstance(); toolSettings.CommitSha = commitSha; return(toolSettings); }
public static GitHubReleaseSettings ResetCommitSha(this GitHubReleaseSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.CommitSha = null; return(toolSettings); }
public static GitHubReleaseSettings ResetToken(this GitHubReleaseSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.Token = null; return(toolSettings); }
public static GitHubReleaseSettings SetToken(this GitHubReleaseSettings toolSettings, string token) { toolSettings = toolSettings.NewInstance(); toolSettings.Token = token; return(toolSettings); }
public static GitHubReleaseSettings SetTag(this GitHubReleaseSettings toolSettings, string tag) { toolSettings = toolSettings.NewInstance(); toolSettings.Tag = tag; return(toolSettings); }
public static GitHubReleaseSettings ResetReleaseNotes(this GitHubReleaseSettings toolSettings) { toolSettings = toolSettings.NewInstance(); toolSettings.ReleaseNotes = null; return(toolSettings); }
public static GitHubReleaseSettings SetReleaseNotes(this GitHubReleaseSettings toolSettings, string releaseNotes) { toolSettings = toolSettings.NewInstance(); toolSettings.ReleaseNotes = releaseNotes; return(toolSettings); }