func kotsadmTag() string {
	if OverrideVersion != "" {
		return OverrideVersion
	}

	kotsVersion := version.Version()
	parsed, err := semver.NewVersion(kotsVersion)
	if err != nil {
		return "alpha"
	}

	if parsed.Prerelease() != "" {
		return "alpha"
	}

	return fmt.Sprintf("v%s", kotsVersion)
}
// return "alpha" for all prerelease or invalid versions of kots,
// kotsadm tag that matches this version for others
return "alpha" for all prerelease or invalid versions of kots,
kotsadm tag that matches this version for others
// return " alpha " for all prerelease or invalid versions of kots // kotsadm tag that matches this version for others
func kotsadmTag() string {
	if OverrideVersion != "" {
		return OverrideVersion
	}
	kotsVersion := version.Version()
	parsed, err := semver.NewVersion(kotsVersion)
	if err != nil {
		return "alpha"
	}
	if parsed.Prerelease() != "" {
		return "alpha"
	}
	return fmt.Sprintf("v%s", kotsVersion)
}
func kotsadmTag ( ) string { if OverrideVersion != " " { return OverrideVersion } kotsVersion := version . Version ( ) parsed , err := semver . NewVersion ( kotsVersion ) if err != nil { return " " } if parsed . Prerelease ( ) != " " { return " " } return fmt . Sprintf ( " " , kotsVersion ) }
return "alpha" for all prerelease or invalid versions of kots,
kotsadm tag that matches this version for others
return " alpha " for all prerelease or invalid versions of kots kotsadm tag that matches this version for others