From 8aa02da93a3934172cec47f557880c426e15d395 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Mon, 2 Jun 2025 19:59:45 +0200 Subject: [PATCH] build: include "v" prefix in version tags... --- script/next-version.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/script/next-version.go b/script/next-version.go index f3052e360..b2af3fe22 100644 --- a/script/next-version.go +++ b/script/next-version.go @@ -71,7 +71,7 @@ func main() { // We want a stable release. Simply remove the prerelease // suffix. latest.PreRelease = "" - fmt.Println(latest) + fmt.Println("v" + latest.String()) return } @@ -84,7 +84,7 @@ func main() { if v, err := strconv.Atoi(p); err == nil { parts[i] = strconv.Itoa(v + 1) latest.PreRelease = semver.PreRelease(strings.Join(parts, ".")) - fmt.Println(latest) + fmt.Println("v" + latest.String()) return } } @@ -92,7 +92,7 @@ func main() { // Otherwise we generate a new rc.1 for the correct next version. next.PreRelease = suffix + ".1" - fmt.Println(next) + fmt.Println("v" + next.String()) return } @@ -105,7 +105,7 @@ func main() { latest.PreRelease = suffix + ".1" } - fmt.Println(latest) + fmt.Println("v" + latest.String()) } func cmd(name string, args ...string) (string, error) {