diff --git a/magefiles/magefile.go b/magefiles/magefile.go index 6e39e2fe..dcf9044e 100644 --- a/magefiles/magefile.go +++ b/magefiles/magefile.go @@ -142,6 +142,7 @@ func Run() error { } func writeVersion() error { + // get tag. version, err := exec.Command("git", "describe", "--tags").Output() if err != nil { return errors.Wrap(err, "failed to get current git tag")