Table of Contents

Class UploadReleaseBinariesTask

Namespace
Cake.Frosting.PleOps.Recipe.GitHub
Assembly
Cake.Frosting.PleOps.Recipe.dll

Task to upload delivery binaries to the current GitHub release.

[TaskName("PleOps.Recipe.GitHub.UploadReleaseBinaries")]
[IsDependentOn(typeof(RestoreToolsTask))]
public class UploadReleaseBinariesTask : FrostingTask<PleOpsBuildContext>, IFrostingTask
Inheritance
UploadReleaseBinariesTask
Implements
Inherited Members

Remarks

The GitHub release should have as a tag "v{Version}". This action only runs for stable builds if the GitHub token is present.

Methods

Run(PleOpsBuildContext)

Runs the task using the specified context.

public override void Run(PleOpsBuildContext context)

Parameters

context PleOpsBuildContext

The context.

ShouldRun(PleOpsBuildContext)

Gets whether or not the task should be run.

public override bool ShouldRun(PleOpsBuildContext context)

Parameters

context PleOpsBuildContext

The context.

Returns

bool

true if the task should run; otherwise false.