Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.

Latest commit

 

History

History
25 lines (21 loc) · 647 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 647 Bytes

Cake.SynVer Build status

Cake Addin that exends Cake with ability to execute the SynVer tool

Usage

#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
    }
});