Skip to content

Commit fb56c72

Browse files
committed
Add message flag to readme usage section
1 parent 3b94dd9 commit fb56c72

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ $ np --help
6464
--release-draft-only Only opens a GitHub release draft
6565
--test-script Name of npm run script to run tests before publishing (default: test)
6666
--no-2fa Don't enable 2FA on new packages (not recommended)
67+
--message Version bump commit message, '%s' will be replaced with version (default: version)
6768
6869
Examples
6970
$ np
@@ -98,6 +99,7 @@ Currently, these are the flags you can configure:
9899
- `releaseDraft` - Open a GitHub release draft after releasing (`true` by default).
99100
- `testScript` - Name of npm run script to run tests before publishing (`test` by default).
100101
- `2fa` - Enable 2FA on new packages (`true` by default) (setting this to `false` is not recommended).
102+
- `message` - The commit message used for the version bump. Any `%s` in the string will be replaced with the new version (`%s` when using npm and `v%s` when using yarn by default)
101103

102104
For example, this configures `np` to never use Yarn and to use `dist` as the subdirectory to publish:
103105

0 commit comments

Comments
 (0)