Summary
Determines the SHA ID of the current commit.
- Assembly
- Cake
.Frosting .Issues .Recipe .dll - Namespace
- Cake
.Frosting .Issues .Recipe - Containing Type
- IIssuesBuildServer
Syntax
string DetermineCommitId(IIssuesContext context, DirectoryPath repositoryRootDirectory)
Parameters
Name | Type | Description |
---|---|---|
context | IIssuesContext | The Cake context. |
repositoryRootDirectory | DirectoryPath | The root directory of the repository. |
Return Value
Type | Description |
---|---|
string | The SHA ID of the current commit. |