INNER CODE UNIT · Go

isPrerelease

runmedev/runme · tools/release-notes/main.go:234

func isPrerelease(tag string) bool {
	re := regexp.MustCompile(`^(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)\.(0|[1-9][0-9]*)$`)
	return re.MatchString(strings.TrimLeft(tag, "v"))
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…