OctoDeployAlias.

PublishRelease(ICakeContext, string, string, FilePath, bool, bool, OctoDeploySettings) Method

Summary

Publish a release on GitHub
Assembly
Cake.OctoDeploy.dll
Namespace
Cake.OctoDeploy
Containing Type
OctoDeployAlias

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