Class UploadReleaseBinariesTask
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
PleOpsBuildContextThe context.
ShouldRun(PleOpsBuildContext)
Gets whether or not the task should be run.
public override bool ShouldRun(PleOpsBuildContext context)
Parameters
context
PleOpsBuildContextThe context.
Returns
- bool
true
if the task should run; otherwisefalse
.