~jacksonchen666/quick_statement_generator_for_software_version_identifier

51dd5f0d98ed41ded99f7930436e42d9bcdc539d — Jackson Chen 2 years ago bb260ee
re-order cases
1 files changed, 2 insertions(+), 2 deletions(-)

M generators.go
M generators.go => generators.go +2 -2
@@ 117,10 117,10 @@ func GenerateQSV1FromData(wikidataItem string, toAdd *[]SourceInfo, retrivedDate
		current_statement += fmt.Sprintf(`P577	+%s/11	`, published_date_string) // publish date
		release_type := ""                                                      // is something in the future
		switch {
		case strings.Contains(i.Name, "rc"):
			release_type = VersionTypeReleaseCandidate
		case i.PreRelease || strings.Contains(i.Name, "pre"):
			release_type = VersionTypePreRelease
		case strings.Contains(i.Name, "rc"):
			release_type = VersionTypeReleaseCandidate
		case strings.Contains(i.Name, "beta"):
			release_type = VersionTypeBeta
		case strings.Contains(i.Name, "alpha"):