updated browser_client tasks to only run the build once durring release, and added a call to npm publish when publishing the bower component

This commit is contained in:
Spencer Alger
2014-05-06 13:32:06 -07:00
parent 9fdc3e8982
commit cc6ff367be
2 changed files with 6 additions and 3 deletions

View File

@ -28,7 +28,8 @@ async.series([
make('git', ['commit', '-m', 'version ' + bowerJson.version]),
make('git', ['tag', '-a', 'v' + bowerJson.version, '-m', 'version ' + bowerJson.version]),
make('git', ['push', 'origin', 'master']),
make('git', ['push', '--tags', 'origin'])
make('git', ['push', '--tags', 'origin']),
make('npm', ['publish'])
], function (err) {
if (err) {
if (_.isNumber(err)) {