1.3.0 • Published 6 years ago
cubx-prepare-webpackage-release v1.3.0
cubx-prepare-webpackage-release
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).