cubx-prepare-webpackage-release

1.3.0 • Public • Published

cubx-prepare-webpackage-release

Build Status

Module for releasing a new version of a webpackage.

Usage:

Command line:

cubx-prepare-webpackage-release -p <webpackagePath> [-r <releaseVersion> -n <nextVersion>]

Other npm modules

var webpackagePath = ...
var releaseVersion = ...
var nextVersion = ...
var options = {releaseVersion: releaseVersion, nextVersion: nextVersion}
var WebpackageReleasePreparer = require('cubx-prepare-webpackage-release');
var wpReleasePreparer = new WebpackageReleasePreparer(webpackagePath, options);
wpReleasePreparer.prepareUpload();

Optional parameters

-r (releaseVersion) and -n (nextVersion) are optional parameters. If not provided, their default values will be:

  • -r (releaseVersion): current version without -SNAPSHOT suffix (e.g. 1.2.3-SNAPSHOT -> 1.2.3).
  • -n (nextVersion): next minor development version (e.g. 1.2.3 -> 1.3.0-SNAPSHOT).

Package Sidebar

Install

npm i cubx-prepare-webpackage-release

Weekly Downloads

0

Version

1.3.0

License

MIT

Unpacked Size

38.6 kB

Total Files

13

Last publish

Collaborators

  • edwingamboa