Merge pull request #13758 from appwrite/fix/sdks-version-whitelist

fix(tasks): drop the SDK version whitelist
This commit is contained in:
Chirag Aggarwal authored and GitHub committed 2026-09-18 04:54:01 -07:00
commit b958df4bf1
1 file changed
-27
-27
View File
@@ -124,33 +124,6 @@ class SDKs extends Action
if (! $createRelease) {
$version ??= Console::confirm('Choose an Appwrite version');
if (! \in_array($version, [
'0.6.x',
'0.7.x',
'0.8.x',
'0.9.x',
'0.10.x',
'0.11.x',
'0.12.x',
'0.13.x',
'0.14.x',
'0.15.x',
'1.0.x',
'1.1.x',
'1.2.x',
'1.3.x',
'1.4.x',
'1.5.x',
'1.6.x',
'1.7.x',
'1.8.x',
'1.9.x',
'2.0.x',
'latest',
])) {
throw new \Exception('Unknown version given');
}
}
$selectedPlatforms = ($selectedPlatform === '*' || $selectedPlatform === null) ? null : \array_map('trim', \explode(',', $selectedPlatform));