View Source Expublish.Git (expublish v2.7.5)
Shell commands for git.
Summary
Functions
Create a git commit and tag for given %Version{}.
Git push to remote.
Validate state of git working directory.
Functions
@spec commit_and_tag(Version.t(), Expublish.Options.t()) :: Version.t()
Create a git commit and tag for given %Version{}.
@spec push(Version.t(), Expublish.Options.t()) :: Version.t()
Git push to remote.
@spec validate(Expublish.Options.t()) :: :ok | String.t()
Validate state of git working directory.
Returns :ok or error message.