Skip to content

Contains functionality for creating Nuget compatible version numbers.

Notifications You must be signed in to change notification settings

Kemyke/Cake.Nuget.Versioning

Repository files navigation

Cake.Nuget.Versioning

Summary

Contains functionality for creating Nuget compatible version numbers. Create nuget compatible version from the parameters. If branch names and other settings are provided it created a valid suffix for the version. You can't just use the current branch name because it can be too long or starts with numbers. You can trim string from the branch name to create more readable versions.

Usage

#addin "nuget:?package=Cake.Nuget.Versioning"


var fullVersion = BuildNugetVersionFromBranch(major, minor, patch, new BuildNugetVersionFromBranchSettings { BranchName = gitBranch, TrimPatterns = new[] { "feature/" }});

About

Contains functionality for creating Nuget compatible version numbers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages