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
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