Cake Addin that extends Cake with the ability to manage version information in a project using bumpy.exe
C# PowerShell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Example
Source
docs/input
nuspec/nuget
tools
.appveyor.yml
.gitattributes
.gitignore
GitReleaseManager.yaml Add initial commit Jul 9, 2017
LICENSE
README.md
build.ps1
config.wyam Add initial commit Jul 9, 2017
setup.cake

README.md

Cake.Bumpy

Cake.Bumpy is an Addin for Cake which can help you to manage version information across several files in your project using the command line tool Bumpy.

Usage

In order to use the commands for this addin, you will need to include the following in your build.cake file to download and reference from NuGet.org:

#tool Bumpy

In addition, you will need to include the following:

#addin Cake.Bumpy

Afterwards you can start to use the Addin, e.g.:

BumpyIncrement(2);

You can learn more about using Bumpy and the Addin from their respective documentation here and here.

Example

The Example folder in this repository outlines a simple build script which can be used to increment versions in some files using a .bumypconfig file:

#tool Bumpy
#addin Cake.Bumpy

var target = Argument("target", "Default");

Task("Default")
    .Does(() =>
{
    Information("Bumpy increment:");
    BumpyIncrement(3);
});

RunTarget(target);

To see the example in action run:

cd .\Example
.\build.ps1

Sample output:

========================================
Default
========================================
Executing task: Default
Bumpy increment:
\my_version_file1.txt (0): 1.0.0 -> 1.0.1
\my_version_file2.txt (0): 1.0.0 -> 1.0.1
Finished executing task: Default

License

MIT