OctoDeployAlias.

PublishReleaseWithArtifact(ICakeContext, string, string, string, bool, bool, FilePath, string, string, OctoDeploySettings) Method

Summary

Publish a release with an artifact
Assembly
Cake.OctoDeploy.dll
Namespace
Cake.OctoDeploy
Containing Type
OctoDeployAlias

Syntax

public static void PublishReleaseWithArtifact(this ICakeContext context, string tag, string releaseTitle, string releaseNotes, bool draftRelease, bool preRelease, FilePath artifactPath, string artifactName, string artifactMimeType, OctoDeploySettings octoDeploySettings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext Cake context
tag string Tag for the release
releaseTitle string Title of the release
releaseNotes string Release notes
draftRelease bool Should the release be published as a draft
preRelease bool Should the release be published as a pre-release
artifactPath FilePath Path to the artifact to upload
artifactName string Name of the artifact to use on the release
artifactMimeType string The MIME type of the artifact that is being uploaded
octoDeploySettings OctoDeploySettings OctoDeploy Settings

Return Value

Type Description
void