Skip to content

Commit 7571028

Browse files
committed
fix(build): Fixes Grunt Task not Publishing
The grunt task wasn't publishing to the bower repo because of a file not existing.
1 parent 6edef36 commit 7571028

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/grunt/plugins.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ module.exports = function(grunt) {
175175
grunt.task.requires(['build']);
176176

177177
var options = this.options({
178-
stableSuffix: '',
179178
unstableSuffix: '-unstable',
180179
cleanup: false
181180
});
@@ -229,7 +228,7 @@ module.exports = function(grunt) {
229228
}
230229

231230
// Skip file if it was already released
232-
var re = new RegExp('(' + options.stableSuffix + '|' + options.unstableSuffix + ')');
231+
var re = new RegExp('(' + options.unstableSuffix + ')');
233232
if (basename.match(re)) {
234233
grunt.log.writeln("Skipping file: " + f);
235234
return;

0 commit comments

Comments
 (0)