~jacksonchen666/quick_statement_generator_for_software_version_identifier

71260c7a6bf78caab266943603fcd100d46323f3 — Jackson Chen 2 years ago 5d025ca v1.2.1
Revert "re-order cases"

This reverts commit 51dd5f0d98ed41ded99f7930436e42d9bcdc539d.
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 := ""                                                      // set anyways in the future
		switch {
		case i.PreRelease || strings.Contains(i.Name, "pre"):
			release_type = VersionTypePreRelease
		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, "beta"):
			release_type = VersionTypeBeta
		case strings.Contains(i.Name, "alpha"):