github.com/kubeshop/testkube@v1.17.23/cmd/kubectl-testkube/main.go (about) 1 package main 2 3 import ( 4 "github.com/kubeshop/testkube/cmd/kubectl-testkube/commands" 5 "github.com/kubeshop/testkube/cmd/kubectl-testkube/commands/common" 6 ) 7 8 var ( 9 commit string 10 version string = "999.0.0-dev" // simple bypass of upgrading cluster if coming from dev build or go run 11 builtBy string 12 date string 13 ) 14 15 func init() { 16 // pass data from goreleaser to commands package 17 common.Version = version 18 common.BuiltBy = builtBy 19 common.Commit = commit 20 common.Date = date 21 } 22 23 func main() { 24 commands.Execute() 25 }