Skip to content

Commit f18d9d0

Browse files
authored
Merge pull request #249 from appwrite/dev
feat: Command Line SDK update for version 13.2.1
2 parents cad4bba + a2c9fdc commit f18d9d0

File tree

8 files changed

+16
-11
lines changed

8 files changed

+16
-11
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## 13.2.1
4+
5+
- Fix site domain construction
6+
37
## 13.2.0
48

59
- Feat: Add dedicated commands for text-based attribute management:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Once the installation is complete, you can verify the install using
2929

3030
```sh
3131
$ appwrite -v
32-
13.2.0
32+
13.2.1
3333
```
3434

3535
### Install using prebuilt binaries
@@ -60,7 +60,7 @@ $ scoop install https://raw.githubusercontent.com/appwrite/sdk-for-cli/master/sc
6060
Once the installation completes, you can verify your install using
6161
```
6262
$ appwrite -v
63-
13.2.0
63+
13.2.1
6464
```
6565

6666
## Getting Started

install.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# You can use "View source" of this page to see the full script.
1414

1515
# REPO
16-
$GITHUB_x64_URL = "https://github.com/appwrite/sdk-for-cli/releases/download/13.2.0/appwrite-cli-win-x64.exe"
17-
$GITHUB_arm64_URL = "https://github.com/appwrite/sdk-for-cli/releases/download/13.2.0/appwrite-cli-win-arm64.exe"
16+
$GITHUB_x64_URL = "https://github.com/appwrite/sdk-for-cli/releases/download/13.2.1/appwrite-cli-win-x64.exe"
17+
$GITHUB_arm64_URL = "https://github.com/appwrite/sdk-for-cli/releases/download/13.2.1/appwrite-cli-win-arm64.exe"
1818

1919
$APPWRITE_BINARY_NAME = "appwrite.exe"
2020

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ printSuccess() {
9696
downloadBinary() {
9797
echo "[2/4] Downloading executable for $OS ($ARCH) ..."
9898

99-
GITHUB_LATEST_VERSION="13.2.0"
99+
GITHUB_LATEST_VERSION="13.2.1"
100100
GITHUB_FILE="appwrite-cli-${OS}-${ARCH}"
101101
GITHUB_URL="https://github.com/$GITHUB_REPOSITORY_NAME/releases/download/$GITHUB_LATEST_VERSION/$GITHUB_FILE"
102102

lib/commands/push.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1100,7 +1100,8 @@ export class Push {
11001100
this.consoleClient,
11011101
);
11021102
const variables = await consoleService.variables();
1103-
domain = ID.unique() + "." + variables["_APP_DOMAIN_SITES"];
1103+
const domains = variables["_APP_DOMAIN_SITES"].split(",");
1104+
domain = ID.unique() + "." + domains[0].trim();
11041105
} catch (err) {
11051106
this.error("Error fetching console variables.");
11061107
throw err;

lib/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SDK
22
export const SDK_TITLE = 'Appwrite';
33
export const SDK_TITLE_LOWER = 'appwrite';
4-
export const SDK_VERSION = '13.2.0';
4+
export const SDK_VERSION = '13.2.1';
55
export const SDK_NAME = 'Command Line';
66
export const SDK_PLATFORM = 'console';
77
export const SDK_LANGUAGE = 'cli';

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "module",
44
"homepage": "https://appwrite.io/support",
55
"description": "Appwrite is an open-source self-hosted backend server that abstracts and simplifies complex and repetitive development tasks behind a very simple REST API",
6-
"version": "13.2.0",
6+
"version": "13.2.1",
77
"license": "BSD-3-Clause",
88
"main": "dist/index.js",
99
"types": "dist/index.d.ts",

scoop/appwrite.config.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/ScoopInstaller/Scoop/master/schema.json",
3-
"version": "13.2.0",
3+
"version": "13.2.1",
44
"description": "The Appwrite CLI is a command-line application that allows you to interact with Appwrite and perform server-side tasks using your terminal.",
55
"homepage": "https://github.com/appwrite/sdk-for-cli",
66
"license": "BSD-3-Clause",
77
"architecture": {
88
"64bit": {
9-
"url": "https://github.com/appwrite/sdk-for-cli/releases/download/13.2.0/appwrite-cli-win-x64.exe",
9+
"url": "https://github.com/appwrite/sdk-for-cli/releases/download/13.2.1/appwrite-cli-win-x64.exe",
1010
"bin": [
1111
[
1212
"appwrite-cli-win-x64.exe",
@@ -15,7 +15,7 @@
1515
]
1616
},
1717
"arm64": {
18-
"url": "https://github.com/appwrite/sdk-for-cli/releases/download/13.2.0/appwrite-cli-win-arm64.exe",
18+
"url": "https://github.com/appwrite/sdk-for-cli/releases/download/13.2.1/appwrite-cli-win-arm64.exe",
1919
"bin": [
2020
[
2121
"appwrite-cli-win-arm64.exe",

0 commit comments

Comments
 (0)