diff --git a/CHANGELOG.md b/CHANGELOG.md index d16cac7e2..8076bb408 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,7 +13,7 @@ All notable changes to this project will be documented in this file. - [Multiple] Sort dependencies first in modpacks (#4252 by: HebaruSan) - [Multiple] Allow installs and removals to be cancelled (#4253 by: HebaruSan) - [CLI] Include `supports` relationship in `ckan show` (#4262 by: HebaruSan) -- [Multiple] Pre-release handling (#4260, #4266 by: HebaruSan) +- [Multiple] Pre-release handling (#4260, #4266, #4294 by: HebaruSan, JonnyOThan) - [Multiple] French translation updates (#4268 by: HebaruSan) ### Bugfixes diff --git a/Netkan/Transformers/SpacedockTransformer.cs b/Netkan/Transformers/SpacedockTransformer.cs index 46503f2eb..9360bb813 100644 --- a/Netkan/Transformers/SpacedockTransformer.cs +++ b/Netkan/Transformers/SpacedockTransformer.cs @@ -114,12 +114,6 @@ private Metadata TransformOne(Metadata metadata, JObject json, SpacedockMod sdMo var sdLicense => sdLicense, }); - if (ver?.ToLower() is string lowerV - && preReleaseSubstrings.Any(substr => lowerV.Contains(substr))) - { - json.SafeAdd("release_status", "testing"); - } - // Make sure resources exist. if (json["resources"] == null) { @@ -196,10 +190,5 @@ private static void TryAddResourceURL(string identifier, JObject? resources, str private static readonly Regex githubUrlPathPattern = new Regex("^/(?[^/]+)/(?[^/]+)", RegexOptions.Compiled); - - private static readonly string[] preReleaseSubstrings = new string[] - { - "pre", "alpha", "beta", - }; } }