make zip file generation synchronous and deterministic before pushed to cloud

master
Marc Cohen 2015-07-06 11:38:31 +01:00
parent de878ba02d
commit 17e26fa5ab
1 changed files with 2 additions and 1 deletions

View File

@ -527,7 +527,7 @@ gulp.task('genCodeFiles', function() {
// global, high performance caching/content delivery network (CDN) service.
// This task requires gsutil to be installed and configured.
// For info on gsutil: https://cloud.google.com/storage/docs/gsutil.
gulp.task('pushCodeFiles', ['zip:mdl', 'zip:templates'], function() {
gulp.task('pushCodeFiles', function() {
// Build dest path, info message, cache control and gsutil cmd to copy
// each object into a GCS bucket. The dest is a version specific path.
// The gsutil -m option requests parallel copies.
@ -554,6 +554,7 @@ gulp.task('pushCodeFiles', ['zip:mdl', 'zip:templates'], function() {
gulp.task('publish:code', function (cb) {
runSequence(
'zip:mdl',
'genCodeFiles',
'pushCodeFiles',
cb);