diff --git a/cmd/repo-health-checker/main.go b/cmd/repo-health-checker/main.go index 8a6eb81..160b587 100644 --- a/cmd/repo-health-checker/main.go +++ b/cmd/repo-health-checker/main.go @@ -41,7 +41,7 @@ var Version string func main() { var gitWhitelist, metaFile []string showVersion := flag.Bool("version", false, "print current version") - checkRelease := flag.Bool("checkRelease", false, "trigger release check") + checkRelease := flag.Bool("checkRelease", true, "trigger release check") rootDir := flag.String("root", "", "") repo := flag.String("repo", "", "") localList := flag.String("localList", "", "") diff --git a/pkg/healthcheck/tag.go b/pkg/healthcheck/tag.go index a682d29..cab07ee 100644 --- a/pkg/healthcheck/tag.go +++ b/pkg/healthcheck/tag.go @@ -82,7 +82,7 @@ func CheckTags(repoPath string, skip bool) error { } } if !found { - return fmt.Errorf("Wrong release tag '%s' or missing release tags. Please use one of '%s'.", target, strings.Join(tags, "', '")) + return fmt.Errorf("Wrong release tag in '%s' or missing release tags. Please use '%s'.", strings.Join(tags, "', '"), target) } return nil }