utils

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GithubTokenEnvKey = "GITHUB_TOKEN"
	GitRemoteEnvKey   = "REMOTE"
	OrgEnvKey         = "ORG"
	VersionFile       = "internal/version/version.go"
	BranchPrefix      = "release-"
	VersionPrefix     = "v"
	CrioOrgRepo       = "cri-o"
)

Variables

This section is empty.

Functions

func ConvertStringToSemver

func ConvertStringToSemver(tag string) (res semver.Version, err error)

func GetCurrentVersionFromReleaseBranch

func GetCurrentVersionFromReleaseBranch(repo *git.Repo, baseBranchName string) (res semver.Version, err error)

func GetCurrentVersionFromVersionFile

func GetCurrentVersionFromVersionFile(versionFile string) (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