geddski / grunt-release

Release a new version of your Node-based project
MIT License
388 stars 121 forks source link

Should work with targets #144

Open benconnito opened 8 years ago

benconnito commented 8 years ago

It appears as though because of the way you are reading the config options, this plugin does not work with targets.

FOR EXAMPLE: your doing ' var options = grunt.util._.extend({' instead of var options = this.options({})

this.options sets defaults and merges in current target.

see: http://gruntjs.com/api/inside-tasks

@geddski would you be interested in a pull request if I were to go though and make those changes?