View Source Expublish.Git (expublish v2.7.5)

Shell commands for git.

Summary

Functions

Create a git commit and tag for given %Version{}.

Validate state of git working directory.

Functions

Link to this function

commit_and_tag(version, options \\ %Options{})

View Source
@spec commit_and_tag(Version.t(), Expublish.Options.t()) :: Version.t()

Create a git commit and tag for given %Version{}.

Link to this function

push(version, options \\ %Options{})

View Source
@spec push(Version.t(), Expublish.Options.t()) :: Version.t()

Git push to remote.

Link to this function

validate(options \\ %Options{})

View Source
@spec validate(Expublish.Options.t()) :: :ok | String.t()

Validate state of git working directory.

Returns :ok or error message.