github.com/defang-io/defang/src@v0.0.0-20240505002154-bdf411911834/cmd/cli/version.go (about) 1 package main // this must be "main" or -ldflags will fail to set the version 2 3 import "github.com/defang-io/defang/src/cmd/cli/command" 4 5 var version = "development" // overwritten by build script -ldflags "-X main.version=..." and GoReleaser 6 7 func init() { 8 command.RootCmd.Version = version 9 }