Skip to content

Commit

Permalink
hotfix for local requires in cli
Browse files Browse the repository at this point in the history
  • Loading branch information
ungoldman committed Feb 8, 2015
1 parent a725549 commit ecd022c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# gh-release changelog

## 1.0.2 - 2015-02-07
* hotfix for local requires in cli

## 1.0.1 - 2015-02-07
* add better options info to readme

Expand Down
4 changes: 2 additions & 2 deletions bin/cli.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node

var ghRelease = require('..')
var defaults = require('../get-defaults')()
var ghRelease = require(__dirname + '/../')
var defaults = require(__dirname + '/../get-defaults')()
var argv = require('yargs')
.usage('Usage: $0 [options]')
.options({
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
{
"name": "gh-release",
"description": "Create a release for a node package on github.",
"version": "1.0.1",
"version": "1.0.2",
"author": "Nate Goldman <[email protected]>",
"bin": {
"gh-release": "./bin/cli.js"
},
"bugs": {
"url": "https://github.com/ngoldman/gh-release/issues"
},
"dependencies": {
"github": "^0.2.3",
"inquirer": "^0.8.0",
"yargs": "^2.1.1"
},
"files": [
"index.js",
"bin/cli.js"
Expand All @@ -27,10 +32,5 @@
"scripts": {
"gh-release": "node ./bin/cli.js",
"test": "standard"
},
"dependencies": {
"github": "^0.2.3",
"inquirer": "^0.8.0",
"yargs": "^2.1.1"
}
}

0 comments on commit ecd022c

Please sign in to comment.