View Source Releaser.VersionUtils (Bonfire v0.9.11-social-beta.6)

Summary

Functions

Some utilities to get and set version numbers in the mix.exs file and to programmatically transform version numbers. Maybe the bump_* functions should be in the standard library? This script doesn't support pre-release versions or versions with build information.

Functions

bump_major(version)

Some utilities to get and set version numbers in the mix.exs file and to programmatically transform version numbers. Maybe the bump_* functions should be in the standard library? This script doesn't support pre-release versions or versions with build information.

bump_minor(version)

bump_patch(version)

bump_pre(version, pre_label)

get_version(mix_path \\ ".")

set_version(version, mix_path \\ ".")

update_version(version, pre_label)

version_to_string(version)