# Chart.version has to be semver compliant for "helm package to work".
# We use this in two modes:
# - publishing "Gitpod Self-Hosted" releases: version _is_ semver compliant
# - publishing "branch builds": version is <branch-name>.<nr> (_not_ semver compliant)
# To fix this locally (without poisoning the leeway upstream deps) we detect semver compliance here, and in case of non-compliance, prefix with "0.1.0-".
# Note: This assumes all clients of the resulting "branch builds" package do not care about the actual version used.