Skip to content

Commit

Permalink
Update version.go (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
imrajdas authored Aug 29, 2023
1 parent 70f5052 commit 981fa80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var VersionCmd = &cobra.Command{
Short: "Displays the version of diffr",
Long: ``,
Run: func(cmd *cobra.Command, args []string) {
version := os.Getenv("VERSION")
version := os.Getenv("Version")
if version == "" {
version = "develop"
}
Expand Down

0 comments on commit 981fa80

Please sign in to comment.