OctoDeployAlias.

PublishRelease(ICakeContext, string, string, string, 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, string releaseNotes, 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
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
octoDeploySettings OctoDeploySettings OctoDeploy settings

Return Value

Type Description
int Id of the Release