feat: repo health check (#16) #17
|  | @ -56,7 +56,7 @@ func CheckReleases(repoPath string, category string, n int) error { | |||
| 		} | ||||
| 	} | ||||
| 	if !found { | ||||
| 		return fmt.Errorf("Wrong release tag '%s'. Please use one of '%s'.", target, strings.Join(tags, "', '")) | ||||
| 		return fmt.Errorf("Wrong release tag '%s' or missing release tags. Please use one of '%s'.", target, strings.Join(tags, "', '")) | ||||
|  | ||||
| 	} | ||||
| 	return nil | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	
Why is the
targetrelease tag wrong?I intended to mean release tag is missing or wrong.
Do we need to specify missing or wrong? I think only we need to inform students that their release is wrong.
Do we need to test if they submit extra tags?
I think extra is fine, as long as they don't miss any tags.
Then just print the error on missing tags.