diff --git a/app/config/platforms.php b/app/config/platforms.php index 4b9be4881d..e4d10a20db 100644 --- a/app/config/platforms.php +++ b/app/config/platforms.php @@ -145,6 +145,7 @@ return [ ], APP_PLATFORM_CONSOLE => [ + 'key' => APP_PLATFORM_CONSOLE, 'name' => 'Console', 'enabled' => false, 'beta' => false, @@ -159,7 +160,7 @@ return [ 'family' => APP_PLATFORM_CONSOLE, 'prism' => 'console', 'source' => realpath(__DIR__ . '/../sdks/console-javascript'), - 'gitUrl' => 'git@github.com:appwrite/sdk-for-console.git', + 'gitUrl' => null, 'gitRepoName' => 'sdk-for-console', 'gitUserName' => 'appwrite', ], diff --git a/app/tasks/sdks.php b/app/tasks/sdks.php index 8cc2dddf2d..0c9e2a6609 100644 --- a/app/tasks/sdks.php +++ b/app/tasks/sdks.php @@ -151,6 +151,11 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND } $gitUrl = $language['gitUrl']; + + if(empty($gitUrl)) { + continue; + } + $gitUrl = 'git@github.com:aw-tests/'.$language['gitRepoName'].'.git'; exec('rm -rf '.$target.' && \