This package is meant to use in your npm scripts.
"scripts": {
"create-release-travis": "prepare-release --version $npm_package_version --input ./dist --output ./release"
}
This will read the contents from ./dist
, create a
new folder ./release/VERSION
and copy the contents
of ./dist
to this new directory.
The folder where your built files are
The folder that is created by this package
The version you want to publish. Typically this will be $npm_package_version
This will create an additional folder containing the same artifacts as output.
Only deploy the major version. This will create a folder that is only named after the major version.
Ignore dot files that are present in the input folder