Svelixir.Inline.BumpVersion (svelixir v0.2.0)

Copy Markdown

Inline scripts/bump-version.sh template.

Summary

Functions

Renders scripts/bump-version.sh, run by lefthook's post-commit hook to auto-bump the mix.exs version by the type of the commit just created (feat -> minor, everything else -> patch; no MAJOR before 1.0).

Functions

template()

@spec template() :: String.t()

Renders scripts/bump-version.sh, run by lefthook's post-commit hook to auto-bump the mix.exs version by the type of the commit just created (feat -> minor, everything else -> patch; no MAJOR before 1.0).