git_ops
git_ops copied to clipboard
Major version changes should require a flag and/or manual confirmation
mix git_ops.release --allow-major and if thats not supplied, it will prompt for confirmation. This would have saved me lots of stress on multiple occasions 😆
If this flag is introduced, would --yes still override it? I think it should. CI should release whatever version number the commits' messages tell, IMHO.
Agreed. --yes should override.
I'll try to get a PR for this issue. One question I have is: what's the expected behavior when both --allow-major and --no-major are given?
IMHO, we should error as they're kind of conflicting options.
Another option is to let --allow-major override --no-major and keep going, maybe with a warning log so it doesn't go unnoticed.
I think they should error if specified together.