From 48e0c5511e200ad9090100035d2a2d8804aadb2c Mon Sep 17 00:00:00 2001 From: Corey Butler Date: Sat, 30 Jul 2016 12:37:06 -0500 Subject: [PATCH] Update release process. --- gulpfile.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index ee5e05f..eb1e42e 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -257,19 +257,6 @@ gulp.task('release', function (next) { process.exit(0) } - // Move the shared directories to the root of the distribution - Object.keys(shared).forEach(function (dir) { - const shareddir = path.join(DIR.dist, dir) - try { - fs.accessSync(shareddir, fs.F_OK) - walk(shareddir).forEach(function (filepath) { - let newpath = path.join(DIR.dist, filepath.replace(DIR.dist + path.sep, '').replace(path.sep, '.')) - fs.renameSync(filepath, newpath) - }) - del.sync(path.join(DIR.dist, dir)) - } catch (e) {} - }) - const assets = walk(DIR.dist).sort() GithubPublisher({