last_git_commit
Community Action Reference: Inspected directly from Fastlane core ruby gem definitions.
Supported Platforms: ios, android, mac
Return last git commit hash, abbreviated commit hash, commit message and author
Parameters & Options
This action takes no parameters or options.
Examples
commit = last_git_commitpilot(changelog: commit[:message]) # message of commitauthor = commit[:author] # author of the commitauthor_email = commit[:author_email] # email of the author of the commithash = commit[:commit_hash] # long sha of commitshort_hash = commit[:abbreviated_commit_hash] # short sha of commitSource & Upstream
- Gem Action:
last_git_commit.rb - Upstream Source: Inspect Ruby Implementation on GitHub
- Authors:
ngutman