View Source Expublish.Git (expublish v2.7.3)
Shell commands for git.
Link to this section Summary
Functions
Create a git commit and tag for given %Version{}.
Git push to remote.
Validate state of git working directory.
Link to this section 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.