Skip to content
This repository has been archived by the owner on May 6, 2022. It is now read-only.

Commit

Permalink
fix ver var; rel 0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
srinandan committed Jul 31, 2019
1 parent 9d5f4eb commit d891147
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
package main

import (
"github.com/srinandan/apigeecli/cmd"
"os"

"github.com/srinandan/apigeecli/cmd"
)

var GitVersion string
var Version string

func main() {

rootCmd := cmd.GetRootCmd()
rootCmd.Version = "0.2, Git: " + GitVersion
rootCmd.Version = "0.3, Git: " + Version

if err := rootCmd.Execute(); err != nil {
os.Exit(-1)
Expand Down

0 comments on commit d891147

Please sign in to comment.