How to use the release-it.execute function in release-it

To help you get started, we’ve selected a few release-it examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github webpro / grunt-release-it / tasks / release-it.js View on Github external
grunt.registerTask('release-it', 'Release repository.', function(increment) {

        var done = this.async();

        var options = this.options();

        options.increment = increment || options.increment;
        options.verbose = grunt.option('verbose') === true || options.verbose;
        options.debug = grunt.option('debug') === true || options.debug;
        options.force = grunt.option('force') === true || options.force;
        options['dry-run'] = grunt.option('no-write') === true || options['dry-run'];

        release.execute(options).catch(grunt.fail.warn).finally(done);

    });
};
github thecreation / jquery-asScrollable / gulp / tasks / release.js View on Github external
return function(done) {
    releaseIt.execute(args.options).catch(handleErrors).finally(done);
  }
}
github azu / release-changelog / lib / release-changelog.js View on Github external
]).then(function (results) {
        var changelog = results[0];
        option.tagAnnotation = "Release %s\n" + changelog;
        return releaseIt.execute(option);
    });
}

release-it

Generic CLI tool to automate versioning and package publishing-related tasks.

MIT
Latest version published 4 days ago

Package Health Score

82 / 100
Full package analysis

Popular release-it functions