Expublish (expublish v2.7.0) View Source

Main module putting everything together:

def major do
  Tests.run!()

  :major
  |> Project.get_version!()
  |> Semver.increase!()
  |> Project.update_version!()
  |> Changelog.write_entry!()
  |> Git.commit_and_tag()
  |> Git.push()
  |> Hex.publish()
end

Link to this section Summary

Functions

Publish alpha version of current project.

Publish beta version of current project.

Publish major version of current project.

Publish minor version of current project.

Publish patch version of current project.

Publish release-candidate version of current project.

Removes pre-release and publish version of current project.

Link to this section Types

Specs

level() :: :major | :minor | :patch | :rc | :beta | :alpha | :stable

Link to this section Functions

Link to this function

alpha(options \\ %Options{})

View Source

Specs

alpha(Expublish.Options.t()) :: :ok

Publish alpha version of current project.

Link to this function

beta(options \\ %Options{})

View Source

Specs

beta(Expublish.Options.t()) :: :ok

Publish beta version of current project.

Link to this function

major(options \\ %Options{})

View Source

Specs

major(Expublish.Options.t()) :: :ok

Publish major version of current project.

Link to this function

minor(options \\ %Options{})

View Source

Specs

minor(Expublish.Options.t()) :: :ok

Publish minor version of current project.

Link to this function

patch(options \\ %Options{})

View Source

Specs

patch(Expublish.Options.t()) :: :ok

Publish patch version of current project.

Link to this function

rc(options \\ %Options{})

View Source

Specs

rc(Expublish.Options.t()) :: :ok

Publish release-candidate version of current project.

Link to this function

stable(options \\ %Options{})

View Source

Specs

stable(Expublish.Options.t()) :: :ok

Removes pre-release and publish version of current project.