How to use release-it - 5 common examples

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);
    });
}
github thecreation / breakpoints-js / gulp / tasks / release.js View on Github external
return function(done) {
    releaseIt(options).then(done).catch(handleErrors);
  }
}
github youzan / vant / packages / vant-cli / src / commands / release.ts View on Github external
export async function release() {
  await releaseIt({
    plugins: {
      [PLUGIN_PATH]: {}
    },
    git: {
      tagName: 'v${version}',
      commitMessage: 'chore: release ${version}'
    }
  });
}

release-it

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

MIT
Latest version published 18 days ago

Package Health Score

88 / 100
Full package analysis

Popular release-it functions