Skip to content

Commit

Permalink
Merge pull request #83 from appwrite/dev
Browse files Browse the repository at this point in the history
fix: travis
  • Loading branch information
TorstenDittmann authored Apr 17, 2024
2 parents 8cbc520 + 1fb9c75 commit 0dc59ba
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
email: $NPM_EMAIL
api_key: $NPM_API_KEY
tag: next
skip_cleanup: true
on:
tags: true
- stage: NPM Release
if: not tag =~ /-(rc|RC)/
node_js: "16"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "node-appwrite",
"homepage": "https://appwrite.io/support",
"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",
"version": "12.1.0-rc.3",
"version": "12.1.0-rc.4",
"license": "BSD-3-Clause",
"main": "dist/index.js",
"type": "commonjs",
Expand Down
4 changes: 2 additions & 2 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class AppwriteException extends Error {
}

function getUserAgent() {
let ua = 'AppwriteNodeJSSDK/12.1.0-rc.3';
let ua = 'AppwriteNodeJSSDK/12.1.0-rc.4';

// `process` is a global in Node.js, but not fully available in all runtimes.
const platform: string[] = [];
Expand Down Expand Up @@ -82,7 +82,7 @@ class Client {
'x-sdk-name': 'Node.js',
'x-sdk-platform': 'server',
'x-sdk-language': 'nodejs',
'x-sdk-version': '12.1.0-rc.3',
'x-sdk-version': '12.1.0-rc.4',
'user-agent' : getUserAgent(),
'X-Appwrite-Response-Format': '1.5.0',
};
Expand Down

0 comments on commit 0dc59ba

Please sign in to comment.