- Run
npm run release
- Prompt choose version appears
- Press <Ctrl+C>
- Howdy
- npm
release
script executesnp
- npm
postrelease
hook should be invoked whenrelease
exits with status 0
This happens only on my Mac (macOS Mojave 10.14.6) with node v11.15.0
Tested also on Windows 10 Home 64 with node v11.15.0 and issue was not reproduced
It appears that this issue happens only in the version selection screen.
When prompted with "No commits found since previous release, continue?"
Pressing <Ctrl+C> exits with non-zero status code thus the postrelease
hook
is not invoked.