View Source Expublish.Semver (expublish v2.7.5)
Functions for manipulating %Version{}.
Summary
Functions
Bump alpha pre-release and patch version.
Bump beta pre-release and patch version.
Interfaces Expublish.Semver
version increase functions.
Bump major version.
Bump minor version.
Bump patch version.
Bump release-candidate pre-release and patch version.
Remove current pre-release suffix and declare current version stable.
Types
@type level() :: :major | :minor | :patch | :rc | :beta | :alpha | :stable
Functions
@spec alpha(Version.t(), Expublish.Options.t()) :: Version.t()
Bump alpha pre-release and patch version.
@spec beta(Version.t(), Expublish.Options.t()) :: Version.t()
Bump beta pre-release and patch version.
@spec increase!(Version.t(), level(), Expublish.Options.t()) :: Version.t()
Interfaces Expublish.Semver
version increase functions.
Bump major version.
Bump minor version.
Bump patch version.
@spec rc(Version.t(), Expublish.Options.t()) :: Version.t()
Bump release-candidate pre-release and patch version.
Remove current pre-release suffix and declare current version stable.