Summary
Gets the hash of the latest commit on the source branch.
- Assembly
- Cake
.Issues .PullRequests .dll - Namespace
- Cake
.Issues .PullRequests - Containing Type
- I
Support Checking Commit Id
Syntax
string GetLastSourceCommitId()
Return Value
Type | Description |
---|---|
string | The hash of the latest commit on the source branch, null or System.String.Empty
if no pull request could be found. |