Skip to content

Commit

Permalink
fix(build): Fixes Grunt Task not Publishing
Browse files Browse the repository at this point in the history
The grunt task wasn't publishing to the bower repo because
of a file not existing.
  • Loading branch information
JLLeitschuh committed Aug 11, 2015
1 parent 6edef36 commit 7571028
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/grunt/plugins.js
Expand Up @@ -175,7 +175,6 @@ module.exports = function(grunt) {
grunt.task.requires(['build']);

var options = this.options({
stableSuffix: '',
unstableSuffix: '-unstable',
cleanup: false
});
Expand Down Expand Up @@ -229,7 +228,7 @@ module.exports = function(grunt) {
}

// Skip file if it was already released
var re = new RegExp('(' + options.stableSuffix + '|' + options.unstableSuffix + ')');
var re = new RegExp('(' + options.unstableSuffix + ')');
if (basename.match(re)) {
grunt.log.writeln("Skipping file: " + f);
return;
Expand Down

0 comments on commit 7571028

Please sign in to comment.