Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

CommitMessage

Contains helper functions which allow to get and set the git commit message.

Functions and values

Function or valueDescription
getCommitMessage(repositoryDir)
Signature: repositoryDir:string -> string

Gets the commit message

getCommitMessageFileInfos(repositoryDir)
Signature: repositoryDir:string -> FileInfo list

Returns the commit message file.

setMessage repositoryDir text
Signature: repositoryDir:string -> text:string -> unit

Sets the commit message