From 981fa80e7d5e3efb9ae2236a2807c577f4b1f606 Mon Sep 17 00:00:00 2001 From: Raj Das Date: Wed, 30 Aug 2023 00:06:12 +0530 Subject: [PATCH] Update version.go (#3) --- pkg/cmd/version/version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }