git

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoVersion = fmt.Errorf("no version in the tags")
)

Functions

func ActualBranchName

func ActualBranchName(path string) (string, error)

func LastCommitHash

func LastCommitHash(path string) (string, error)

func LastCommitMessage

func LastCommitMessage(path string) (string, error)

func LastModuleVersionFromCurrentBranch

func LastModuleVersionFromCurrentBranch(path, appName string) (string, error)

func ModuleVersions

func ModuleVersions(path, appName string) ([]string, error)

func ModuleVersionsFromCurrentBranch

func ModuleVersionsFromCurrentBranch(path, appName string) ([]string, error)

func ModuleVersionsWithHash

func ModuleVersionsWithHash(path, appName string) (map[string]string, error)

func PushTags

func PushTags(path, tag string) error

PushTags will execute a git push with tags.

func TagCommit

func TagCommit(path, tag string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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