Versioce.Bumper (Versioce v2.0.0) View Source

Module responsible for the bumping itself.

If you are interested in the process of writing and updating files check Versioce.Bumper.Files module.

Link to this section Summary

Functions

Bumps versions in all the files specified in config + mix.exs

Get current project version.

Link to this section Functions

Specs

Bumps versions in all the files specified in config + mix.exs

Example

iex> Versioce.Bumper.bump({[], ["minor"]}, "0.0.1")
"0.1.0"

Specs

current_version() :: {:ok, String.t()} | {:error, String.t()}

Get current project version.

Example

iex> Versioce.Bumper.current_version
{:ok, "0.1.0"}