Expublish (expublish v2.4.2) View Source
Main module putting everything together:
def major do
Tests.run!()
:major
|> Semver.update_mix_exs!()
|> Changelog.write_entry!(DateTime.utc_now())
|> 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 | :alpha | :beta | :rc | :stable
Link to this section Functions
Specs
alpha(Expublish.Options.t()) :: :ok
Publish alpha version of current project.
Specs
beta(Expublish.Options.t()) :: :ok
Publish beta version of current project.
Specs
major(Expublish.Options.t()) :: :ok
Publish major version of current project.
Specs
minor(Expublish.Options.t()) :: :ok
Publish minor version of current project.
Specs
patch(Expublish.Options.t()) :: :ok
Publish patch version of current project.
Specs
rc(Expublish.Options.t()) :: :ok
Publish release-candidate version of current project.
Specs
stable(Expublish.Options.t()) :: :ok
Removes pre-release and publish version of current project.