Cake Addin with the goal to get next version based on change of a dll's public API
C# PowerShell Batchfile
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 8 commits ahead, 1 commit behind wallymathieu:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Source
tools
.gitignore
LICENSE
README.md
appveyor.yml
build.cmd
build.ps1
setup.cake

README.md

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