View Source GitOps.Git (Git Ops v2.6.3)

Helper functions for working with Git and fetching the tags/commits we care about.

Summary

Functions

@spec add!(Git.Repository.t(), [String.t()]) :: String.t()
@spec commit!(Git.Repository.t(), [String.t()]) :: String.t()
Link to this function

commit_messages_since_tag(repo, tag)

View Source
@spec commit_messages_since_tag(Git.Repository.t(), String.t()) :: [String.t()]
Link to this function

get_initial_commits!(repo)

View Source
@spec get_initial_commits!(Git.Repository.t()) :: [String.t()]
@spec hooks_path(Git.Repository.t()) :: String.t() | no_return()
@spec init!(String.t()) :: Git.Repository.t()
Link to this function

tag!(repo, current_version)

View Source
@spec tag!(Git.Repository.t(), String.t() | [String.t()]) :: String.t()
@spec tags(Git.Repository.t()) :: [String.t()]