2.0.0 • Published 8 years ago
test-tag-publish v2.0.0
Overview
This package will do the following:
- Check for uncommitted changes.
- Run tests.
- Update the version number.
- Commit the version number.
- Tag the commit.
- Push all commits and tags.
- Publish to npm.
Usage
Install:
npm i -g test-tag-publishRun:
test-tag-publish <version> [options]Parameters
<version>- This is required and can be anything that
npm versionaccepts. - [
<newversion>|major|minor|patch|premajor|preminor|prepatch|prerelease|from-git]
- This is required and can be anything that
[options]- [
-m|--message]- The commit message.
%scan be used to insert the new version number.- Default value is
v%s.
- [
-t|--tag]- The tag message.
%scan be used to insert the new version number.- If this is not set the message is used.
- [
-f|--force]- Skip the check for uncommitted changes.
- [
-n|--no-test]- Skip tests.
- [