fix(healthcheck/release): style check
Some checks failed
build / build (push) Failing after 36s
build / trigger-build-image (push) Has been skipped
build / build (pull_request) Failing after 32s
build / trigger-build-image (pull_request) Has been skipped

This commit is contained in:
zzjc1234 2024-10-13 12:45:02 +08:00
parent e7e24f7c8f
commit 742d1f07c0

View File

@ -71,7 +71,7 @@ func checkConsist(tags []string, target string) (err error) {
}
}
if !found {
return fmt.Errorf("Wrong release tag in '%s' or missing release tags. Please use '%s'.", strings.Join(tags, "', '"), target)
return fmt.Errorf("Inconsistent release tag with scope in '%s' or missing release tags. Please use '%s'.", strings.Join(tags, "', '"), target)
}
return nil
}
@ -86,7 +86,7 @@ func checkStyle(target string, recommendTag []string) (err error) {
}
}
if !found {
return fmt.Errorf("Wrong release tag '%s' or missing release tags. Please use one of '%s'.", target, strings.Join(recommendTag, "', '"))
return fmt.Errorf("Release tag '%s' doesn't match recommended tag list. Please use one of '%s'.", target, strings.Join(recommendTag, "', '"))
}
return nil
}