Parser for Semantic Release Notes (fallback) v0.3.
Can be used to parse a semantic release notes and to format it to a markdown or html file or environment variable, for use on build sever.
- Nuget (core library):
Install-Package SemanticReleaseNotesParser.Core - Chocolatey (command line tool):
choco install semanticreleasenotesparser - Manual (command line tool): download the zip
SemanticReleaseNotes [parameters]: parse the default ReleaseNotes.md and generates a ReleaseNotes.html
All parameters are optional.
Parameters:
-r=<filename>: Release notes file path to parse (default:ReleaseNotes.md)-o=<filename>: Path of the resulting file (default:ReleaseNotes.html)-t=<file|environment|fileandenvironment>: Type of output (default:file)filegenerates a file with the name from-oorReleaseNotes.htmlby defaultenvironmentset an environment variable with the nameSemanticReleaseNotesand value of the formatted release notes; support build serversfileandenvironmentmake both of the above
-f=<html|markdown>: Format of the resulting file (default:html)-g=<sections|categories>: Defines the grouping of items (default:sections)--template: Path of the liquid template file to format the result ; Overrides type, format and groupby of output--pluralizecategoriestitle: Pluralize categories title; works only withg=categories--includestyle[=<custom style>]: Include style in the html output; if no custom style is provided, the default is used--debug: Add debug messages-h: Help
SemanticReleaseNotesConverterclass help to parse, format or convert aReleaseNotes
- DotLiquid is used to process the liquid templates
- CommonMark.NET is used to process the markdown
- Humanizer is used to titleize and pluralize categories title
Please pick an existing issue, or create one in order to discuss it before you go full ahead.
Just use local-build.ps1.
It will:
- apply the source format
- build the projects
- launch the tests
- packages all the thing
- Generates release notes with https://github.com/StefH/GitHubReleaseNotes or https://github.com/GitTools/GitReleaseNotes [TODO]
- Create and push a new tag based on the template:
v[x].[y].[y]=>v0.1.0
Icon: Article designed by Stefan Parnarov from The Noun Project.