Package Description


Keywords
cake-addin, git, gitversion, repo-version, versioning
License
MIT
Install
Install-Package Cake.RepoVersion -Version 0.1.22.4

Documentation

Cake.RepoVersion

A Cake addin that provides automatic versioning using the repo-version tool.

package version downloads
Cake.RepoVersion Nuget Nuget

Quick Start

#addin nuget:?package=Cake.RepoVersion&version=<version>
#addin nuget:?package=Newtonsoft.Json&version=11.0.2

RepositoryVersion version;

Setup(context =>
{
    // Calculate the current version
    version = RepoVersion();

    // Display the current version, or set the build number
    // for the current CI system.
    Information(version.SemVer);
});

It is important that you also include the adding for Newtonsoft.Json and it must be 11.0.2

Contributing

Contributions are very welcome! Head over to the Contributing section for more information.