code: func semverCompare(image string) int {
  	split := strings.Split(image, ":")
  	if len(split) < 2 {
  		// If we don't know the version, we consider the client version newer.
  		return 1
  	}
  	tillerVersion, err := semver.NewVersion(split[1])
  	if err != nil {
  		// same thing with unparsable tiller versions (e.g. canary releases).
  		return 1
  	}
  	clientVersion, err := semver.NewVersion(version.Version)
  	if err != nil {
  		// aaaaaand same thing with unparsable helm versions (e.g. canary releases).
  		return 1
  	}
  	return clientVersion.Compare(tillerVersion)
  }
docs: // semverCompare returns whether the client's version is older, equal or newer than the given image's version.