View Source Expublish.Project (expublish v2.7.5)

Functions for reading and writing project mix.exs.

Summary

Functions

Return parsed %Version{} from current mix project.

Writes version to project mix.exs or given --version-file.

Functions

Link to this function

get_version!(options \\ %Options{})

View Source
@spec get_version!(Expublish.Options.t()) :: Version.t()

Return parsed %Version{} from current mix project.

Reads from Mix.Project.config/0

Link to this function

update_version!(new_version, options \\ %Options{}, version \\ nil)

View Source
@spec update_version!(Version.t(), Expublish.Options.t(), nil | Version.t()) ::
  Version.t()

Writes version to project mix.exs or given --version-file.