func IsCurrentVersionValid(v string) bool {
	currentVersion := strings.Split(v, "-")[0]
	return CanCurrentVersionBeUpgraded(currentVersion)
}
IsCurrentVersionValid verifies if the  current version is valid or not
package version
import (
	"strconv"
	"strings"
)
var (
	minCurrentVersion   = "2.6.0"
	validDesiredVersion = strings.Split(Version, "-")[0]
	exceptions = []string{"master", "develop"}
)