You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by if...@apache.org on 2021/03/28 05:39:24 UTC

[rocketmq-client-nodejs] 01/01: fix: ci

This is an automated email from the ASF dual-hosted git repository.

ifplusor pushed a commit to branch n-api
in repository https://gitbox.apache.org/repos/asf/rocketmq-client-nodejs.git

commit 747611c5eacf5d016f34dbc3c060a9b558d69604
Author: James Yin <yw...@hotmail.com>
AuthorDate: Sun Mar 28 13:29:48 2021 +0800

    fix: ci
---
 deps/rocketmq | 2 +-
 package.json  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/deps/rocketmq b/deps/rocketmq
index fcecc8d..1584a34 160000
--- a/deps/rocketmq
+++ b/deps/rocketmq
@@ -1 +1 @@
-Subproject commit fcecc8dba97972d4c934b00cadc97a07406b563d
+Subproject commit 1584a34ec7a44137085dbc5eb2b3047726b433fc
diff --git a/package.json b/package.json
index 5e38e40..f2ed65e 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,7 @@
   "main": "index.js",
   "scripts": {
     "preinstall": "git submodule update --init --recommend-shallow",
-    "install": "deps/rocketmq/build.sh && node-gyp rebuild",
+    "install": "if [ ! -d deps/rocketmq/bin ]; then deps/rocketmq/build.sh; fi && node-gyp rebuild",
     "test": "npm run lint && echo 'temp example test' && node example/producer.js && node example/push_consumer.js",
     "lint": "eslint ."
   },