Cake Addin that exends Cake with ability to execute the SynVer tool
#addin Cake.SynVer
Task("Build-Next")
.Does(() =>
{
var magnitude=SemVerMagnitude("./packages/NAME/45/NAME.dll", "NAME/bin/Debug/NAME.dll");
switch(magnitude){
case Magnitude.Major:
// update major version
case Magnitude.Minor:
// update minor version
case Magnitude.Patch:
// update patch version
}
});