mouhamadi / Cake.HockeyApp

This Addin for the Cake Build Automation System allows you to deploy your package to HockeyApp.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cake.HockeyApp Addin

AppVeyor master branch nuget pre release

This Addin for the Cake Build Automation System allows you to deploy your package to HockeyApp. More about Cake at http://cakebuild.net

Use the addin

To use the HockeyApp in your cake file simply import it and define a publish task.

#addin "Cake.HockeyApp"

Task("deploy")
    .Does(() => 
    {
        UploadToHockeyApp( pathToYourPackageFile, new HockeyAppUploadSettings 
        {
            AppId = appIdFromHockeyApp,
            Version = "1.0.160901.1",
            ShortVersion = "1.0-beta2",
            Notes = "Uploaded via continuous integration."
        });
    });

The available parameters for the upload settings are descripted here: http://support.hockeyapp.net/kb/api/api-versions#upload-version

AppId, ApiToken and Version are required parameters you have to set.

Do not checkin the HockeyApp API Token into your source control. Either use HockeyAppUploadSettings.ApiToken or the HOCKEYAPP_API_TOKEN environment variable.

Build

To build this package we are using Cake.

On Windows PowerShell run:

./build restore
./build

On OSX/Linux run:

./build.sh restore
./build.sh

Run pack alias to create a nuget package.

About

This Addin for the Cake Build Automation System allows you to deploy your package to HockeyApp.

License:MIT License


Languages

Language:C# 85.5%Language:Shell 7.9%Language:PowerShell 6.6%