ember-cli-release
ember-cli-release copied to clipboard
Ask before create commit.
I have this use case.
Latest version: v1.0.1
Succesfully committed changes 'Released v1.0.2' locally.
[?] About to create tag 'v1.0.2' and push to remote 'origin', proceed?: No
Aborted.
Commit ''Released v1.0.2' still there, even I said No.
So, can I ask before commit creates ?
Sounds like what you want to do is see what version will be created without any changes. Would a --check or --dry-run flag that just prints what the next version will be satisfy your use case?
I would like this feature too. A --dry-run flag is less ideal because it would be annoying to do it every time. My use case is when it accidentally creates a wrong version number (for example, when I forget to add --prerelease flag when I just want to increment the prerelease version), I can easily cancel it, without having to reset the commit afterwards.