You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- The `--prompt` option now allows you to manually enter a version, rather than only selecting from the listed options
12
+
- Added support for [npm version scripts](https://docs.npmjs.com/cli/version). (big thanks to [szarouski](https://github.com/szarouski) for his [PR](https://github.com/BigstickCarpet/version-bump-prompt/pull/17))<br> The scripts are run the same order as the `npm version` command:
13
+
- The `preversion` script runs before the version is updated (and before the version prompt is shown)
14
+
- The `version` script runs after the version is updated, but _before_`git commit` and `git tag`
15
+
- The `postversion` script runs after `git commit` and `git tag`, but _before_`git push`
A couple of changes to make `version-bump-prompt` behave more like the `npm version` command:
23
+
24
+
- The `--tag` option now creates an [annotated git tag rather than a lightweight tag](https://git-scm.com/book/en/v2/Git-Basics-Tagging#Creating-Tags).
25
+
26
+
- The `--tag` option now follows the same naming convention as the `npm version` command. The tag name is `vX.X.X` (same as before), and the commit message is `X.X.X` (no "v" prefix).
0 commit comments