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
Changelog
Contains helpers which allow to parse Change log text files. These files have to be in a format as described on http://keepachangelog.com/en/0.1.0/
Sample
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: |
|
val changelogFile : string
val newVersion : string
Nested types and modules
Type | Description |
Change | |
ChangeText | |
Changelog | |
ChangelogEntry | |
Unreleased |
Functions and values
Function or value | Description |
Changelog.create(...)
Signature: description:string option -> unreleased:Unreleased option -> entries:ChangelogEntry list -> Changelog
|
|
Changelog.createWithCustomHeader(...)
Signature: header:string -> description:string option -> unreleased:Unreleased option -> entries:ChangelogEntry list -> Changelog
|
|
Changelog.fromEntries(entries)
Signature: entries:ChangelogEntry list -> Changelog
|
|
Changelog.load(filename)
Signature: filename:string -> Changelog
|
Parses a Changelog text file and returns the lastest changelog. Parameters
ReturnsThe loaded changelog (or throws an exception, if the changelog could not be parsed) |
Changelog.parse(data)
Signature: data:seq<string> -> Changelog
|
Parses a change log text and returns the change log. Parameters
|
Changelog.parseVersions(line)
Signature: line:string -> Match * Match
|
|
Changelog.promoteUnreleased(...)
Signature: version:string -> changelog:Changelog -> Changelog
|
Promotes the Parameters
ReturnsThe promoted changelog |
Changelog.save filename changelog
Signature: filename:string -> changelog:Changelog -> unit
|
Saves a Changelog to a text file. Parameters
|