def build_hugo_md(filename, tag, bump):
header = [<EOL>'<STR_LIT>',<EOL>'<STR_LIT>'.format(date.today().isoformat()),<EOL>'<STR_LIT>'.format(tag),<EOL>'<STR_LIT>',<EOL>'<STR_LIT>'.format(bump),<EOL>'<STR_LIT>',<EOL>'<STR_LIT:\n>'<EOL>]<EOL>with open(filename, "<STR_LIT:r>") as file_h:<EOL><INDENT>content = insert_break(file_h.readlines())<EOL><DEDENT>header.extend(content)<EOL>with open(filename, "<STR_LIT:w>") as file_h:<EOL><INDENT>file_h.writelines(header)<EOL><DEDENT>
Build the markdown release notes for Hugo.

Inserts the required TOML header with specific values and adds a break
for long release notes.

Parameters
----------
filename : str, path
    The release notes file.
tag : str
    The tag, following semantic versioning, of the current release.
bump : {"major", "minor", "patch", "alpha", "beta"}
    The type of release.