Skip to content

cake-contrib/Cake.RepoVersion

Repository files navigation

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.

About

Cake addin providing automatic versioning using repo-version

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published