Merge pull request #41 from github/auto-version

Provide version number at build time
This commit is contained in:
Mislav Marohnić 2021-07-26 19:25:06 +02:00 committed by GitHub
commit 967ef48306

View file

@ -11,11 +11,13 @@ func main() {
Execute()
}
var Version = "DEV"
var rootCmd = &cobra.Command{
Use: "ghcs",
Short: "Unofficial GitHub Codespaces CLI.",
Long: "Unofficial CLI tool to manage and interact with GitHub Codespaces.",
Version: "0.7.1",
Version: Version,
}
func Execute() {