HockeyAppAliases.

UploadToHockeyApp(ICakeContext, FilePath, FilePath, HockeyAppUploadSettings) Method

Summary

Uploads the specified package to HockeyApp. Currently it is required to specify the AppId and the Version property of HockeyAppUploadSettings
Assembly
Cake.HockeyApp.dll
Namespace
Cake.HockeyApp
Containing Type
HockeyAppAliases

Syntax

public static HockeyAppUploadResult UploadToHockeyApp(this ICakeContext context, FilePath file, FilePath symbolsFile, HockeyAppUploadSettings settings)

Examples

UploadToHockeyApp( pathToYourPackageFile, pathToSymbolsFile, new HockeyAppUploadSettings
{
    AppId = appIdFromHockeyApp,
    Version = "1.0.160901.1",
    ShortVersion = "1.0-beta2",
    Notes = "Uploaded via continuous integration."
});
Do not checkin the HockeyApp API Token into your source control. Either use HockeyAppUploadSettings.ApiToken or the HOCKEYAPP_API_TOKEN environment variable.

Attributes

Type Description
CakeAliasCategoryAttribute
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The Cake context
file FilePath The app package.
symbolsFile FilePath The symbols for the app package.
settings HockeyAppUploadSettings The upload settings

Return Value

Type Description
HockeyAppUploadResult