utils

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2025 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoesTagExist

func DoesTagExist(tag string) (bool, error)

func EvaluateYqToString

func EvaluateYqToString(expr string, files ...string) (string, error)

func GetFlavorConfig

func GetFlavorConfig(flavor string, config types.ReleaseConfig, packageName string) (string, types.Flavor, error)

func GetFormattedVersion added in v0.0.13

func GetFormattedVersion(packageName string, version string, flavor string) string

func GetPackageName

func GetPackageName() (string, error)

func GetRepoInfo

func GetRepoInfo() (remoteURL string, defaultBranch string, err error)

func LoadReleaseConfig

func LoadReleaseConfig(dir string) (types.ReleaseConfig, error)

func LoadYaml

func LoadYaml(path string, destVar interface{}) error

func OpenRepo

func OpenRepo() (*git.Repository, error)

func UpdateYaml

func UpdateYaml(path string, srcVar interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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