Provide version number at build time
This commit is contained in:
parent
bba5ebec8b
commit
3931c16bd7
1 changed files with 3 additions and 1 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue