-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Require github-release-notes.js in the bin file * Catch promises errors and handle them in a new way * Update github-api and remove is-online from package.json * Add hasNetwork check back in * Update the changelog * Kill all tasks when catching an error * Remove extra line in the changelog * Revert connectivity check
- Loading branch information
1 parent
ba12e23
commit a4cca14
Showing
5 changed files
with
120 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,3 @@ | ||
#!/usr/bin/env node | ||
|
||
'use strict'; | ||
|
||
var GithubReleaseNotes = require('./src/gren'); | ||
var gren = new GithubReleaseNotes(); | ||
var utils = require('./src/utils'); | ||
var action = utils.getBashOptions(process.argv)['action']; | ||
|
||
gren.init() | ||
.then(function() { | ||
return gren[action || 'release'](); | ||
}); | ||
require('../github-release-notes'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.