0.2.4 • Published 8 years ago

gulp-hockeyapp v0.2.4

Weekly downloads
351
License
MIT
Repository
github
Last release
8 years ago

npm version

gulp-hockeyapp

Gulp task for uploading builds to HockeyApp service. Only one HockeyApp API method is supported - Upload Version, which enables user to upload and start distributing a new build for pre-configured application.

Install

npm install gulp-hockeyapp

Usage

var hockeyApp = require('gulp-hockeyapp-upload');

gulp.task('hockeyapp', function(done) {

    var options = {
        id: 'APPLICATION_ID',
        apiToken: 'API_TOKEN',
        inputFile: 'builds/myapp.apk',
        notify: 0,
        status: 2,
        teamList: [1234, 5678]
    };

    hockeyApp.upload(options).then(
        function(response) {
            // All is ok, build was uploaded
            done();
        },
        function(err) {
            // Something is wrong...
        }
    );
});

Options

options.id - required application id, e.g. 174c943c7783430a9e1cb20bb372aea1.

options.apiToken - required API token issued on HockeyApp site.

options.inputFile - required path to input file.

options.notify - optional, whether to notify testers about new build or not. Possible values:

  • 0 - don't notify testers (default value)
  • 1 - notify all testers that can install the app
  • 2 - notify all

    This setting requires full-access token.

options.status - optional download status. Possible values:

  • 1 - don't allow users to download or install this version
  • 2 - available for download and installation (default value)

options.teamList - optional array of teams ids which should be able to download the app.

options.notes - optional release notes.

options.notes_type - optional, type of the release notes text. Possible values:

  • 1 - Textile
  • 2 - Markdown

License

See LICENSE file.

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago