项目作者: cake-contrib

项目描述 :
Cake addin providing automatic versioning using repo-version
高级语言: PowerShell
项目地址: git://github.com/cake-contrib/Cake.RepoVersion.git
创建时间: 2019-08-19T00:31:08Z
项目社区:https://github.com/cake-contrib/Cake.RepoVersion

开源协议:MIT License

下载


Cake.RepoVersion

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

package version downloads
Cake.RepoVersion Nuget Nuget

Quick Start

  1. #addin nuget:?package=Cake.RepoVersion&version=<version>
  2. #addin nuget:?package=Newtonsoft.Json&version=11.0.2
  3. RepositoryVersion version;
  4. Setup(context =>
  5. {
  6. // Calculate the current version
  7. version = RepoVersion();
  8. // Display the current version, or set the build number
  9. // for the current CI system.
  10. Information(version.SemVer);
  11. });

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.