diff --git a/app/tasks/sdks.php b/app/tasks/sdks.php index 2b62b76e89..a29a1312c1 100644 --- a/app/tasks/sdks.php +++ b/app/tasks/sdks.php @@ -17,10 +17,11 @@ use Appwrite\SDK\Language\Dart; $cli = new CLI(); $version = '0.2.0'; // Server version +$warning = '**This SDK is compatible with Appwrite server version ' . $version . '. For older versions, please check [previous releases](/releases).**'; $cli ->task('generate') - ->action(function () use ($version) { + ->action(function () use ($warning) { function getSSLPage($url) { $ch = curl_init(); @@ -43,7 +44,7 @@ $cli 'gitRepo' => 'git@github.com:appwrite/sdk-for-php.git', 'gitRepoName' => 'sdk-for-php', 'gitUserName' => 'appwrite', - 'warning' => 'This SDK is compitable with Appwrite server version ' . $version . ' for older versions check previous releases.', + 'warning' => $warning, 'platform' => 'server', ], 'js' => [ @@ -53,7 +54,7 @@ $cli 'gitRepo' => 'git@github.com:appwrite/sdk-for-js.git', 'gitRepoName' => 'sdk-for-js', 'gitUserName' => 'appwrite', - 'warning' => 'This SDK is compitable with Appwrite server version ' . $version . ' for older versions check previous releases.', + 'warning' => $warning, 'platform' => 'client', ], 'node' => [ @@ -63,7 +64,7 @@ $cli 'gitRepo' => 'git@github.com:appwrite/sdk-for-node.git', 'gitRepoName' => 'sdk-for-node', 'gitUserName' => 'appwrite', - 'warning' => 'This SDK is compitable with Appwrite server version ' . $version . ' for older versions check previous releases.', + 'warning' => $warning, 'platform' => 'server', ], 'python' => [ diff --git a/composer.lock b/composer.lock index bd903a6a74..3d9d1aabdc 100644 --- a/composer.lock +++ b/composer.lock @@ -12,12 +12,12 @@ "source": { "type": "git", "url": "https://github.com/appwrite/sdk-for-php.git", - "reference": "456e2f153393bd67b7d706db1ec104ba211cf25a" + "reference": "bc702c165342f3d943e17d580ab3eb66e100eb44" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-for-php/zipball/456e2f153393bd67b7d706db1ec104ba211cf25a", - "reference": "456e2f153393bd67b7d706db1ec104ba211cf25a", + "url": "https://api.github.com/repos/appwrite/sdk-for-php/zipball/bc702c165342f3d943e17d580ab3eb66e100eb44", + "reference": "bc702c165342f3d943e17d580ab3eb66e100eb44", "shasum": "" }, "require": { @@ -39,7 +39,7 @@ "BSD-3-Clause" ], "description": "Appwrite backend as a service cuts up to 70% of the time and costs required for building a modern application. We abstract and simplify common development tasks behind a REST APIs, to help you develop your app in a fast and secure way. For full API documentation and tutorials go to [https://appwrite.io/docs](https://appwrite.io/docs)", - "time": "2019-10-01T18:05:56+00:00" + "time": "2019-10-03T17:57:02+00:00" }, { "name": "appwrite/php-clamav", @@ -92,7 +92,7 @@ "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator", - "reference": "30bd70b62d5b5ff0c7902383d1b92ca523a20004" + "reference": "e0cfa4cb8d45b3faf8222f4e7f803f3054431ce8" }, "require": { "ext-curl": "*", @@ -122,7 +122,7 @@ } ], "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", - "time": "2019-10-03 17:55:27" + "time": "2019-10-03 22:01:52" }, { "name": "bacon/bacon-qr-code",