Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

Latest commit

 

History

History
29 lines (23 loc) · 779 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 779 Bytes

Cake.SemVer.FromAssembly Build status

Cake Addin that exends Cake with ability to execute the SemVer.FromAssembly tool

Obsolete

Consider using Cake.SynVer instead.

Usage

#addin Cake.SemVer.FromBinary
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
    }
});