Skip to content

Commit

Permalink
chore: add alias
Browse files Browse the repository at this point in the history
  • Loading branch information
artemijspavlovs committed Aug 26, 2024
1 parent 1d66c64 commit a8ce2c0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions cmd/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ package version
import (
"fmt"

"github.com/dymensionxyz/roller/version"

versionutils "github.com/dymensionxyz/roller/version"
"github.com/spf13/cobra"
)

Expand All @@ -13,9 +12,9 @@ func Cmd() *cobra.Command {
Use: "version",
Short: "Print the version of roller",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("πŸ’ˆ Roller version", version.BuildVersion)
fmt.Println("πŸ’ˆ Build time:", version.BuildTime)
fmt.Println("πŸ’ˆ Git commit:", version.BuildCommit)
fmt.Println("πŸ’ˆ Roller version", versionutils.BuildVersion)
fmt.Println("πŸ’ˆ Build time:", versionutils.BuildTime)
fmt.Println("πŸ’ˆ Git commit:", versionutils.BuildCommit)
},
}
return versionCmd
Expand Down

0 comments on commit a8ce2c0

Please sign in to comment.