steps

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAllFilesAndCommit

func AddAllFilesAndCommit(repoDir string, tag string) error

func CloneRepo

func CloneRepo(gitConfig config2.GitConfig, repoName distribution.RepoName, branch string, cloneDirPath string, auth transport.AuthMethod) error

func DoesRepoHaveUnstagedChanges

func DoesRepoHaveUnstagedChanges(repoDirectory string) (bool, error)

func GetRepo

func GetRepo(gitConfig config2.GitConfig, repoName distribution.RepoName, branch string, cloneDirPath string, auth transport.AuthMethod) (*git.Repository, error)

func InitTargetRepo

func InitTargetRepo(remoteURL string, localRepoPath string, signature object.Signature, auth transport.AuthMethod) (*git.Repository, error)

func PushCommitsAndTags

func PushCommitsAndTags(repoDir string, tag string, authMethod transport.AuthMethod) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL