Run https://github.com/semantic-release/cli from anywhere
490
npm install -g semantic-release-cli
cd your-module
semantic-release-cli setup

Usage:
semantic-release-cli setup [options]
Options:
-h --help Show this screen.
-v --version Show version.
--[no-]keychain Use keychain to get passwords [default: true].
--ask-for-passwords Ask for the passwords even if passwords are stored [default: false].
--tag=<String> npm tag to install [default: 'latest'].
Aliases:
init setup
semantic-release-cli performs the following steps:
--no-keychain was specified)npm adduser with the npm information provided to generate a .npmrc.npmrc for future usebefore_install: npm i -g npm@^2.0.0: install NPM 2before_script: curl -Lo travis_after_all.py https://git.io/vLSON: install travis-after-all script to enable running semantic-release after ALL build succeedafter_success: python travis_after_all.py and npm run semantic-release: run semantic-release exactly once after all builds passsudo: false, cache: directories: node_modules, notifications: email: false, before_script: npm pruneversion field (you don't need it anymore -- semantic-release will set the version for you automatically)semantic-release script: "semantic-release": "semantic-release pre && npm publish && semantic-release post"semantic-release as a devDependencyrepository fieldBy default, semantic-release-cli supports the popular Travis CI server. If you select Other as your server during configuration, semantic-release-cli will print out the environment variables you need to set on your CI server. You will be responsible for adding these environment variables as well as configuring your CI server to run npm run semantic-release after all the builds pass.
Note that your CI server will also need to set the environment variable CI=true so that semantic-release will not perform a dry run. (Most CI services do this by default.) See the semantic-release documentation for more details.
MIT License 2015 © Christoph Witzko and contributors

Content type
Image
Digest
Size
258.3 MB
Last updated
over 10 years ago
docker pull chrisprice/semantic-release-cli