Skip to content

Commit 1394541

Browse files
committed
docs: add after-version trigger
1 parent d536234 commit 1394541

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,13 @@ Options:
102102
-V --version Forces the exact version to be released.
103103
-y --yes Assume yes for any confirmation.
104104
Events:
105-
--before-all Run the command before anything (very start).
106-
--before-npm Run the command before releasing to npm.
107-
--before-push Run the command before pushing code to remote.
108-
--before-vcs Run the command before releasing to VCS.
109-
--before-phar Run the command before uploading phar binary.
110-
--after-all Run the command after everything finishes.
105+
--before-all Run the command before anything (very start).
106+
--after-version Run the command after determining next version.
107+
--before-npm Run the command before releasing to npm.
108+
--before-push Run the command before pushing code to remote.
109+
--before-vcs Run the command before releasing to VCS.
110+
--before-phar Run the command before uploading phar binary.
111+
--after-all Run the command after everything finishes.
111112
Examples:
112113
please
113114
please version # prints current version of itself
@@ -139,6 +140,7 @@ When the event commands are triggerred they receive all the variables defined in
139140
Currently `please` supports these events which are executed in following order:
140141

141142
- before-all
143+
- after-version
142144
- before-npm
143145
- before-push
144146
- before-vcs

0 commit comments

Comments
 (0)