From c269eccaf4539c69cc4bdee97fa9a59abdece238 Mon Sep 17 00:00:00 2001 From: Andrew Snodgrass Date: Wed, 27 Nov 2024 11:54:06 -0600 Subject: [PATCH] Fixes #139 git call issue --- build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.go b/build.go index 185415b..de4079c 100644 --- a/build.go +++ b/build.go @@ -88,7 +88,7 @@ func buildinfo() { inf.IsTagged = true inf.Version = strings.TrimSuffix(string(vers), "\n") } else { - vers, err = exec.Command("git", "tag", "--merged", "--sort=v:refname").Output() + vers, err = exec.Command("git", "tag", "--sort=v:refname", "--merged").Output() if err != nil { log.Println("error:", err) } else if len(vers) > 1 {