From 5a09313066f5594ca9e3917c00821e443dcba7bc Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 8 May 2024 20:59:41 +0200 Subject: Rename gitDescribe to version This variable will be the only used representation for version information. It can trivially be used for an equality check. Further data as semantic versioning must be parsed from this string. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index 84a0761..223a7df 100644 --- a/main.go +++ b/main.go @@ -16,7 +16,7 @@ func main() { flag.Parse() if printVersion { - fmt.Println(gitDescribe) + fmt.Println(version) os.Exit(0) } -- cgit v1.2.3-70-g09d2