MethodAliases.

RepoVersion(ICakeContext) Method

Summary

Calculates the version of the current repository.
Assembly
Cake.RepoVersion.dll
Namespace
Cake.RepoVersion
Containing Type
MethodAliases

Syntax

public static RepositoryVersion RepoVersion(this ICakeContext context)

Attributes

Type Description
CakeMethodAliasAttribute
CakeNamespaceImportAttribute

Parameters

Name Type Description
context ICakeContext The ICakeContext.

Return Value

Type Description
RepositoryVersion A RepositoryVersion populated with the current repository version.