This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.HockeyApp.
Summary
Uploads the specified package to HockeyApp. If you don't upload an apk or ipa, it is required to specify the AppId and the
Version property of
HockeyAppUploadSettings
.
Syntax
public static HockeyAppUploadResult UploadToHockeyApp(this ICakeContext context, FilePath file, HockeyAppUploadSettings settings)
Examples
UploadToHockeyApp( pathToYourPackageFile, 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. |
settings |
HockeyAppUploadSettings |
The upload settings |
Return Value