File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " github-release-notes" ,
3- "version" : " 0.2 .2" ,
3+ "version" : " 0.3 .2" ,
44 "description" : " Node module to publish release notes based on commits between the last two tags." ,
55 "main" : " ./github-release-notes.js" ,
66 "scripts" : {
Original file line number Diff line number Diff line change @@ -201,6 +201,7 @@ function getOptions(args) {
201201 */
202202function GithubReleaseNotes ( options ) {
203203 this . options = options || getOptions ( process . argv ) ;
204+ this . options . force = this . options . force || false ;
204205
205206 var github = new Github ( {
206207 token : this . options . token ,
@@ -238,6 +239,8 @@ GithubReleaseNotes.prototype.release = function() {
238239 } )
239240 . catch ( function ( error ) {
240241 console . error ( error ) ;
242+
243+ return that . options . force ;
241244 } ) ;
242245} ;
243246
You can’t perform that action at this time.
0 commit comments