v1.2.3but you can't parse that string to semver structs, you have to strip the
vfirst. Because the logic that strips the
v(if it exists) and the logic that writes the new version to the
changelog.mdare in totally different places they have no knowledge of each other. i.e. the part doing the writing doesn't know if a
vexisted prior or not. So right now it just places a
vno matter what just to be in line with semver examples. What I plan on doing is adding an
Option<bool>to the ClogConfig struct which will indicate if a
vwas present or not, and make a conditional write based on that.
changelog.mdjust to be consistent so we don't have to re-run it
--from-latest-tagto accept true false values, but I'm not sure it's be super useful (assuming the blank space works) unless you're doing something like your project of running clog on in someone else's repo (ie not one you can easily remove fields in the config from)
clog --from=""doesn't work as it says it's not a value. This is a bug in
clap, I'll start investigating.