Skip to content

Commit e3465ee

Browse files
Merge pull request #33 from appwrite/dev
feat: update for 1.0.0-RC1
2 parents 620d24f + 4df5614 commit e3465ee

File tree

4 files changed

+23
-14
lines changed

4 files changed

+23
-14
lines changed

.travis.yml

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,31 @@
1-
21
language: node_js
32
node_js:
4-
- "14.16"
3+
- "18.8.0"
54

65
jobs:
76
include:
8-
- stage: npm release
9-
node_js: "14.16"
10-
script:
11-
- echo "Installing dependencies ..."
12-
- npm i
13-
- echo "Building library ..."
7+
- stage: NPM RC Release
8+
if: tag == *-RC*
9+
node_js: "18.8.0"
10+
script:
11+
- npm install
1412
- npm run build
15-
- echo "Deploying to npm ..."
13+
- echo "Deploying RC to NPM..."
14+
deploy:
15+
provider: npm
16+
email: $NPM_EMAIL
17+
api_key: $NPM_API_KEY
18+
tag: next
19+
- stage: NPM Release
20+
if: tag != *-RC*
21+
node_js: "18.8.0"
22+
script:
23+
- npm install
24+
- npm run build
25+
- echo "Deploying to NPM..."
1626
deploy:
1727
provider: npm
1828
email: $NPM_EMAIL
1929
api_key: $NPM_API_KEY
20-
skip_cleanup: true
2130
on:
22-
tags: true
31+
tags: true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import { Client, Account } from "appwrite";
3333
To install with a CDN (content delivery network) add the following scripts to the bottom of your <body> tag, but before you use any Appwrite services:
3434

3535
```html
36-
<script src="https://cdn.jsdelivr.net/npm/[email protected]RC1"></script>
36+
<script src="https://cdn.jsdelivr.net/npm/[email protected]RC2"></script>
3737
```
3838

3939

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "appwrite",
33
"homepage": "https://appwrite.io/support",
44
"description": "Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API",
5-
"version": "10.0.0-RC1",
5+
"version": "10.0.0-RC2",
66
"license": "BSD-3-Clause",
77
"main": "dist/cjs/sdk.js",
88
"exports": {

src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class Client {
102102
'x-sdk-name': 'Web',
103103
'x-sdk-platform': 'client',
104104
'x-sdk-language': 'web',
105-
'x-sdk-version': '10.0.0-RC1',
105+
'x-sdk-version': '10.0.0-RC2',
106106
'X-Appwrite-Response-Format': '1.0.0-RC1',
107107
};
108108

0 commit comments

Comments
 (0)