Feature: directly specify semver increase with flag when using releaseExtension
Use --major
, --minor
(alias --feature
) and --patch
flags.
Also changed default answer to false, so that e.g. accidentally hitting enter twice when running sgc releaseExtension --ext sg_XYZ
won't answer yes to the first question and release a new major, which you would then have to manually revert.
Now also prints the old and new version numbers, as well as a warning when releasing a new major.
Edited by David Breitling