backport of commit e734b0c1df (#16468)

Co-authored-by: R.B. Boyer <rb@hashicorp.com>
pull/16466/head^2
hc-github-team-consul-core 2 years ago committed by GitHub
parent e91cc8f16e
commit d63d822cdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -20,7 +20,7 @@ var (
//go:embed VERSION
fullVersion string
Version, VersionPrerelease, _ = strings.Cut(fullVersion, "-")
Version, VersionPrerelease, _ = strings.Cut(strings.TrimSpace(fullVersion), "-")
// https://semver.org/#spec-item-10
VersionMetadata = ""

Loading…
Cancel
Save