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
Upload an artifact to an existing release
Syntax
public static void UploadArtifact(this ICakeContext context, string tagName, FilePath artifactPath, string artifactName, string artifactMimeType, OctoDeploySettings octoDeploySettings)
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
Cake context |
tagName |
string |
Git tag of the Release to which the asset should be attached |
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