Packages

Conventional-Commits-driven semantic releases for Gleam: analyse commits, compute the next version, generate release notes, and publish to Hex/npm and GitHub. A native Gleam port of semantic-release.

Current section

Files

Jump to
version_bump include version_bump@context_Context.hrl
Raw

include/version_bump@context_Context.hrl

-record(context, {
cwd :: binary(),
env :: gleam@dict:dict(binary(), binary()),
config :: version_bump@config:config(),
branch :: version_bump@branch:branch(),
branches :: list(version_bump@branch:branch()),
commits :: list(version_bump@commit_parser:conventional_commit()),
last_release :: gleam@option:option(version_bump@release:last_release()),
next_release :: gleam@option:option(version_bump@release:next_release()),
releases :: list(version_bump@release:release()),
errors :: list(binary()),
dry_run :: boolean()
}).