1.4.1 ā¢ Published 7 years ago
start-release v1.4.1
start-release
š Semantic Release task for Start
Install
# install semantic-release-cli globally in order
# to setup your repo
npm install -g semantic-release-cli
# or
yarn global add semantic-release-cli
npm install --save-dev start-release
# or
yarn add --dev start-release
Setup semantic-release
semantic-release-cli setup
Setup conditions
If not running on Travis CI, you will have to specify a package for verification.
npm install --save-dev condition-circle
# or
yarn add --dev condition-circle
In your package.json
"release": {
"verifyConditions": "condition-circle"
}
Condition libraries:
Usage
import Start from 'start';
import reporter from 'start-pretty-reporter';
import files from 'start-files';
import release from 'start-release';
const start = Start(reporter());
export const task = () => start(
files([ 'lib/**/*.js', 'test/**/*.js' ]),
release()
);
Arguments
release(opts)
opts.options
- the same options that semantic release accepts as seen hereopts.public
- publish your scoped package publically (default:false
)