Skip to content

Commit

Permalink
Merge pull request #147 from pointlander/malformed-git-call
Browse files Browse the repository at this point in the history
Fixes #139 git call issue
  • Loading branch information
pointlander authored Nov 27, 2024
2 parents 36cabf2 + c269ecc commit f029247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f029247

Please sign in to comment.