OctoDeployAlias.

PublishReleaseWithArtifacts(ICakeContext, string, string, FilePath, bool, bool, FilePath[], string[], string[], OctoDeploySettings) Method

Summary

Publish a release with multiple artifacts. Note that the artifact paths and their respective names and MIME types need to be in the same order in their respective arrays otherwise they will end up incorrectly named
Assembly
Cake.OctoDeploy.dll
Namespace
Cake.OctoDeploy
Containing Type
OctoDeployAlias

Syntax

public static void PublishReleaseWithArtifacts(this ICakeContext context, string tag, string releaseTitle, FilePath releaseNotesFilePath, bool draftRelease, bool preRelease, FilePath[] artifactPaths, string[] artifactNames, string[] artifactMimeTypes, 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
releaseNotesFilePath FilePath Path to file containing Release notes
draftRelease bool Should the release be published as a draft
preRelease bool Should the release be published as a pre-release
artifactPaths FilePath[] Paths to the artifacts to upload
artifactNames string[] Names of the artifacts to use on the release
artifactMimeTypes string[] The MIME type of the artifact that is being uploaded
octoDeploySettings OctoDeploySettings OctoDeploy Settings

Return Value

Type Description
void