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 on GitHub
Syntax
public static int PublishRelease(this ICakeContext context, string tag, string releaseTitle, FilePath releaseNotesFilePath, bool draftRelease, bool preRelease, 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 |
octoDeploySettings |
OctoDeploySettings |
OctoDeploy settings |
Return Value
Type |
Description |
int |
Id of the Release |