break: drop "v" from version string const

- removes "v" from the ProtocolVersion in the ServerMessage
- remove "v" prefix from GoTomatoVersion constant
- re-add "v" for for human readable output (`-version`)
- update README
This commit is contained in:
Sebastian Mark 2024-11-05 23:29:24 +01:00
parent d7b7789051
commit cbe2e007de
3 changed files with 8 additions and 8 deletions

View file

@ -2,5 +2,5 @@ package metadata
import "strings"
const GoTomatoVersion = "v0.0.8" // The GoTomato version
const GoTomatoVersion = "0.0.8" // The GoTomato version
var ProtocolVersion = strings.Split(GoTomatoVersion, ".")[0] // The protocol version