HockeyAppAliases.

UpdateVersionHockeyApp(ICakeContext, FilePath, FilePath, HockeyAppUploadSettings, string) Method

Summary

Update the attributes of an existing version. Version property of HockeyAppUploadSettings
Assembly
Cake.HockeyApp.dll
Namespace
Cake.HockeyApp
Containing Type
HockeyAppAliases

Syntax

public static HockeyAppUploadResult UpdateVersionHockeyApp(this ICakeContext context, FilePath file, FilePath symbolsFile, HockeyAppUploadSettings settings, string versionId)

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
versionId string Must be replaced by the internal ID of the version which is returned in the Upload Version response JSON in the key "id". https://support.hockeyapp.net/kb/api/api-versions#update-version

Return Value

Type Description
HockeyAppUploadResult