diff --git a/pkg/cmd/version/version.go b/pkg/cmd/version/version.go index ecc627e..8d59a03 100644 --- a/pkg/cmd/version/version.go +++ b/pkg/cmd/version/version.go @@ -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" }