This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.OctoDeploy.
Summary
Publish a release with an artifact.
Note that the artifact paths and their respective names need to be in the same order in their respective arrays otherwise they will end up incorrectly named
Syntax
public static void PublishReleaseWithArtifacts(this ICakeContext context, string tag, string releaseTitle, string releaseNotes, 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 |
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 |
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