ReleaseNotesAliases.

ParseReleaseNotes(ICakeContext, FilePath) Method

Summary

Parses the latest release notes.
Namespace
Cake.Common
Containing Type
ReleaseNotesAliases

Syntax

[CakeMethodAlias]
public static ReleaseNotes ParseReleaseNotes(this ICakeContext context, FilePath filePath)

Examples

var releaseNote = ParseReleaseNotes("./ReleaseNotes.md");
Information("Version: {0}", releaseNote.Version);
foreach(var note in releaseNote.Notes)
{
    Information("\t{0}", note);
}

Attributes

Type Description
CakeMethodAliasAttribute An attribute used to mark script method aliases.

Parameters

Name Type Description
context ICakeContext The context.
filePath FilePath The file path.

Return Value

Type Description
ReleaseNotes The latest release notes.