This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.VersionReader.
Summary
Contains functionality for retrieving version numbers from assemblies
- Assembly
- Cake
.VersionReader .dll - Namespace
- Cake
.VersionReader - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["VersionReaderAliases"]
class Type type-node
Syntax
public static class VersionReaderAliases
Attributes
Type | Description |
---|---|
Cake |
Methods
Name | Value | Summary |
---|---|---|
GetFullVersionNumber |
string |
Get the version number from an assembly in 4-digit format.
static
|
Get |
string |
Get the version number from an assembly in 4-digit format with the current build number appended.
static
|
GetVersionNumber |
string |
Get the version number from an assembly in SemVer format.
static
|
Get |
string |
Get the version number with the current build number appended.
This is based on the article found here: http://www.xavierdecoster.com/semantic-versioning-auto-incremented-nuget-package-versions
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
From StringExtensions
Requires the Cake.Issues addin
|