From 9b29ed906a3cd654938661a62f23e645bad72268 Mon Sep 17 00:00:00 2001 From: John Haley Date: Thu, 23 Jun 2016 17:04:56 -0700 Subject: [PATCH 1/3] Don't fail if postinstall doesn't work --- lifecycleScripts/postinstall.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lifecycleScripts/postinstall.js b/lifecycleScripts/postinstall.js index 5e543da53..a2af2089c 100755 --- a/lifecycleScripts/postinstall.js +++ b/lifecycleScripts/postinstall.js @@ -25,7 +25,7 @@ module.exports = function install() { return Promise.resolve(); } - return exec("node dist/nodegit.js") + return exec("node " + path.join(rootPath, "dist/nodegit.js")) .catch(function(e) { if (~e.toString().indexOf("Module version mismatch")) { console.warn( @@ -63,7 +63,7 @@ module.exports = function install() { if (require.main === module) { module.exports() .catch(function(e) { - console.error("[nodegit] ERROR - Could not finish postinstall"); + console.warn("[nodegit] WARN - Could not finish postinstall"); if ( process.pladtform === "linux" && @@ -74,7 +74,5 @@ if (require.main === module) { else { console.log(e); } - - process.exit(1); }); } From 486afe2e7fc57a460d29c6c4e8041a9688e2278c Mon Sep 17 00:00:00 2001 From: John Haley Date: Thu, 23 Jun 2016 17:14:25 -0700 Subject: [PATCH 2/3] Bump to 0.14.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9b236e6bb..c0cdead72 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "nodegit", "description": "Node.js libgit2 asynchronous native bindings", - "version": "0.14.0", + "version": "0.14.1", "homepage": "http://nodegit.org", "keywords": [ "libgit2", From 51d718e12ad1b0d06aa40e1ff951f212d669f4ce Mon Sep 17 00:00:00 2001 From: John Haley Date: Fri, 24 Jun 2016 07:10:21 -0700 Subject: [PATCH 3/3] Add `maint/0.14` to AppVeyor build branches --- appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 3934f045e..c415a7596 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -60,4 +60,4 @@ build: off branches: only: - master - - v0.3 + - maint/0.14