Skip to content

Commit ecd022c

Browse files
committed
hotfix for local requires in cli
1 parent a725549 commit ecd022c

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# gh-release changelog
22

3+
## 1.0.2 - 2015-02-07
4+
* hotfix for local requires in cli
5+
36
## 1.0.1 - 2015-02-07
47
* add better options info to readme
58

bin/cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env node
22

3-
var ghRelease = require('..')
4-
var defaults = require('../get-defaults')()
3+
var ghRelease = require(__dirname + '/../')
4+
var defaults = require(__dirname + '/../get-defaults')()
55
var argv = require('yargs')
66
.usage('Usage: $0 [options]')
77
.options({

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
{
22
"name": "gh-release",
33
"description": "Create a release for a node package on github.",
4-
"version": "1.0.1",
4+
"version": "1.0.2",
55
"author": "Nate Goldman <[email protected]>",
66
"bin": {
77
"gh-release": "./bin/cli.js"
88
},
99
"bugs": {
1010
"url": "https://github.com/ngoldman/gh-release/issues"
1111
},
12+
"dependencies": {
13+
"github": "^0.2.3",
14+
"inquirer": "^0.8.0",
15+
"yargs": "^2.1.1"
16+
},
1217
"files": [
1318
"index.js",
1419
"bin/cli.js"
@@ -27,10 +32,5 @@
2732
"scripts": {
2833
"gh-release": "node ./bin/cli.js",
2934
"test": "standard"
30-
},
31-
"dependencies": {
32-
"github": "^0.2.3",
33-
"inquirer": "^0.8.0",
34-
"yargs": "^2.1.1"
3535
}
3636
}

0 commit comments

Comments
 (0)