Sebastian Mark
61fc21224c
- make `GoTomatoVersion` a variable and default it to "devel" - add ldflags to `.goreleaser.yaml` for version tagging - remove "v" from output of `-version`
7 lines
257 B
Go
7 lines
257 B
Go
package metadata
|
|
|
|
import "strings"
|
|
|
|
// This will be overwritten by goreleaser on build
|
|
var GoTomatoVersion = "devel" // The GoTomato version
|
|
var ProtocolVersion = strings.Split(GoTomatoVersion, ".")[0] // The protocol version
|