From ccb64b11acd64bc40d9568d0b6f0a6417821600e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Tue, 12 Mar 2024 17:01:16 +0000 Subject: [PATCH] internal/cueversion: bump fallbackVersion for v0.8.0-rc.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit While here, tweak the godocs with https://sembr.org/ for readability. Signed-off-by: Daniel Martí Change-Id: I38501589c2db7e0f6c07d61af17a720c62535bbb Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1178185 Reviewed-by: Roger Peppe TryBot-Result: CUEcueckoo Unity-Result: CUE porcuepine --- internal/cueversion/version.go | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/internal/cueversion/version.go b/internal/cueversion/version.go index 48ffc9cafb5..b49256df652 100644 --- a/internal/cueversion/version.go +++ b/internal/cueversion/version.go @@ -10,18 +10,16 @@ import ( "sync" ) -// fallbackVersion is used when there isn't a recorded main module -// version, for example when building via `go install ./cmd/cue`. It -// should reflect the last release in the current branch. +// fallbackVersion is used when there isn't a recorded main module version, +// for example when building via `go install ./cmd/cue`. +// It should reflect the last release in the current branch. // // TODO: remove once Go stamps local builds with a main module version -// derived from the local VCS information per -// https://go.dev/issue/50603. -const fallbackVersion = "v0.8.0-alpha.5" +// derived from the local VCS information per https://go.dev/issue/50603. +const fallbackVersion = "v0.8.0-rc.1" -// Version returns the version of the cuelang.org/go module as best -// as can reasonably be determined. The result is always a valid Go -// semver version. +// Version returns the version of the cuelang.org/go module as best as can +// reasonably be determined. The result is always a valid Go semver version. func Version() string { return versionOnce() }