Skip to content

Commit 4e00f37

Browse files
committed
Bump to 0.3.1
Fixes issues with our installation process.
1 parent 3899894 commit 4e00f37

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ NodeGit
2929

3030
***NOTE: NodeGit currently does not work with [iojs on windows](https://github.com/rvagg/pangyp/issues/4)***
3131

32-
**Stable: 0.3.0**
32+
**Stable: 0.3.1**
3333

3434
## Have a problem? Come chat with us! ##
3535

lifecycleScripts/install.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ var exec = promisify(function(command, opts, callback) {
1313
var nwVersion = null;
1414
var asVersion = null;
1515

16+
var local = path.join.bind(path, __dirname);
17+
1618
return whichNativeNodish("..")
1719
.then(function(results) {
1820
nwVersion = results.nwVersion;
@@ -27,7 +29,7 @@ return whichNativeNodish("..")
2729
console.info("[nodegit] Must build for atom-shell");
2830
return checkAndBuild();
2931
}
30-
if (fs.existsSync("../.didntcomefromthenpmregistry")) {
32+
if (fs.existsSync(local("../.didntcomefromthenpmregistry"))) {
3133
return checkAndBuild();
3234
}
3335
if (process.env.BUILD_DEBUG) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "nodegit",
33
"description": "Node.js libgit2 asynchronous native bindings",
4-
"version": "0.3.0",
4+
"version": "0.3.1",
55
"libgit2": {
66
"url": "https://github.com/nodegit/libgit2/tarball/4b3a1899ff37dddba0a095487505fed9ede101b1",
77
"sha": "4b3a1899ff37dddba0a095487505fed9ede101b1",

0 commit comments

Comments
 (0)