diff --git a/build/scripts/previousversion/main.go b/build/scripts/previousversion/main.go index 7a54bcd8f2..7770a10af1 100644 --- a/build/scripts/previousversion/main.go +++ b/build/scripts/previousversion/main.go @@ -11,6 +11,6 @@ func main() { baseVersion := flag.String("version", "", "the base version to be taken in as input for release") flag.Parse() v, _ := semver.Parse(*baseVersion) - releaseVersion := fmt.Sprintf("%d.%d.%d", v.Major, v.Minor-1, v.Patch) + releaseVersion := fmt.Sprintf("%d-%d-%d", v.Major, v.Minor-1, v.Patch) fmt.Println(releaseVersion) }