semver icon indicating copy to clipboard operation
semver copied to clipboard

Post targets are not executed in dry-run mode

Open aqemi opened this issue 1 year ago • 1 comments

According to documentation, there is a possibility to provide a dry-run flag to targets that are set in postTargets parameter. But there are never executed: https://github.com/jscutlery/semver/blob/d6a436cfb9df0486a722f7a6642378baaaa67ef8/packages/semver/src/executors/version/index.ts#L193

What is the desired behavior?

aqemi avatar Mar 03 '23 11:03 aqemi

Yeah, it makes no sense, we need to revert the provided dryRun option and keep not running post targets in dryRun mode.

edbzn avatar Mar 04 '23 09:03 edbzn