feat: get release tag from msg scope #49

Merged
张泊明518370910136 merged 2 commits from feat/releaseByScope into master 2024-10-08 11:16:15 +08:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 8af5aac645 - Show all commits

View File

@ -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", "", "")

View File

@ -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
}