A Cake addin that provides automatic versioning using the repo-version tool.
package | version | downloads |
---|---|---|
Cake.RepoVersion |
#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
Contributions are very welcome! Head over to the Contributing section for more information.